Class PermissionBaseAttribute
Permission attribute base class.
public abstract class PermissionBaseAttribute : Attribute
- Inheritance
-
objectAttributePermissionBaseAttribute
- Derived
- Extension Methods
Constructors
PermissionBaseAttribute(string, string)
Initializes an instance of PermissionBaseAttribute class.
public PermissionBaseAttribute(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.
Properties
DisplayName
The display name for the permission.
public string DisplayName { get; }
Property Value
- string
Name
Permission name.
public string Name { get; }
Property Value
- string