Class UIPermissionAttribute
Assigns permission to an application class. Multiple permissions per class are allowed.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class UIPermissionAttribute : PermissionBaseAttribute
- Inheritance
-
objectAttributeUIPermissionAttribute
- Inherited Members
- Extension Methods
Constructors
UIPermissionAttribute(string, string)
Initializes an instance of UIPermissionAttribute class.
public UIPermissionAttribute(string name, string displayName = null)
Parameters
name
stringPermission name.
displayName
stringDisplay name.
Remarks
name
can be set based on system default permissions defined in SystemPermissions.