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
Properties
View SourceAlias
The alias for this action (must be unique)
Declaration
string Alias { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
CanBePermissionAssigned
Whether to allow assigning permissions based on this action
Declaration
bool CanBePermissionAssigned { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Category
The category used for this action
Declaration
string Category { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Used in the UI when assigning permissions
Icon
The icon to display for this action
Declaration
string Icon { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Letter
The letter used to assign a permission (must be unique)
Declaration
char Letter { get; }
Property Value
| Type | Description |
|---|---|
| System.Char |
ShowInNotifier
Whether to allow subscribing to notifications for this action
Declaration
bool ShowInNotifier { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |