The Privilege type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Privilege | Initializes a new instance of the Privilege class |
Methods
| Name | Description | |
|---|---|---|
| CanScope |
Can privilege be scoped with namespace and set.
| |
| Clone |
Return privilege shallow clone.
| |
| Equals |
Return if privileges are equal.
(Overrides | |
| GetHashCode |
Return privilege hashcode.
(Overrides | |
| PrivilegeCodeToString |
Convert privilege code to string.
| |
| ToString |
Convert privilege to string.
(Overrides |
Fields
| Name | Description | |
|---|---|---|
| code |
Privilege code.
| |
| ns |
Namespace scope. Apply permission to this namespace only.
If namespace is null, the privilege applies to all namespaces.
| |
| setName |
Set name scope. Apply permission to this set within namespace only.
If set is null, the privilege applies to all sets within namespace.
|
Properties
| Name | Description | |
|---|---|---|
| Code |
Privilege code property.
| |
| CodeString |
Privilege code property.
| |
| Namespace |
Namespace property.
| |
| SetName |
SetName property.
|
See Also