Skip to main content

Permission

The Permission class represents an access permission with associated metadata and hierarchical relationships.

Properties

NameDescription
SecretKeyThe encrypted secret key associated with the permission.
IdThe unique identifier of the permission.
DescriptionThe multilingual description of the permission.
TypeThere are default authorization codes defined in the system, as well as authorization codes added later by users. Type information determines this. 0 is the default authorization codes. 1 is the authorization codes added later.
NameThe multilingual name of the permission.
ChildrenThe list of child permissions.
ValueThe access value assigned to the permission.
WhyIf the authority value inherited from another authority groups, this property holds the unique identifier of the inherited authority.
CodeThe unique code representing the permission.

Constructors

NameDescription
Permission()Initializes a new instance of the Permission class with default values.
  • Value is initialized to AccessValue.NotSet.
  • Name, Description, and Children are initialized as empty collections. |