Interface IAction
Defines a back office action that can be permission assigned or subscribed to for notifications
Namespace: Umbraco.Cms.Core.Actions
Assembly: Umbraco.Core.dll
Syntax
public interface IAction : IDiscoverable
Remarks
If an IAction returns false for both ShowInNotifier and CanBePermissionAssigned then the IAction should not exist
Fields
View SourceActionAlias
Gets the alias for this action (must be unique). This is all lower-case because of case sensitive filesystems, see issue: https://github.com/umbraco/Umbraco-CMS/issues/11670.
Declaration
public const string ActionAlias = ""
Field Value
| Type | Description |
|---|---|
| string |
ActionLetter
Gets the letter used to assign a permission (must be unique).
Declaration
public const string ActionLetter = ""
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceAlias
Gets the alias for this action (must be unique). This is all lower-case because of case sensitive filesystems, see issue: https://github.com/umbraco/Umbraco-CMS/issues/11670.
Declaration
string Alias { get; }
Property Value
| Type | Description |
|---|---|
| string |
CanBePermissionAssigned
Gets a value indicating whether whether to allow assigning permissions based on this action
Declaration
bool CanBePermissionAssigned { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Letter
Gets the letter used to assign a permission (must be unique).
Declaration
string Letter { get; }
Property Value
| Type | Description |
|---|---|
| string |
ShowInNotifier
Gets a value indicating whether whether to allow subscribing to notifications for this action
Declaration
bool ShowInNotifier { get; }
Property Value
| Type | Description |
|---|---|
| bool |