Skip to main content

Permission Properties

An object defining properties for the Permission class.

Id​

The unique identifier of the permission.

Type: long


Children​

The list of child permissions.

Type: List<Permission>


Type​

There 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.

Type: int


SecretKey​

The encrypted secret key associated with the permission.

Type: string


Code​

The unique code representing the permission.

Type: string


Name​

The multilingual name of the permission.

Type: Dictionary<string, string>


Value​

The access value assigned to the permission.

Type: AccessValue
Accepted Values:

NameValue
NotSet0
Allow1
Deny2

info​

If an authority value is allow or allow, among its sub-authorities, those whose values ​​are not-set are naturally marked as allow or do not allow.


Why​

If the authority value inherited from another authority groups, this property holds the unique identifier of the inherited authority.

Type: long?


Description​

The multilingual description of the permission.

Type: Dictionary<string, string>