The IPrivilege interface contains properties and methods of a security manager privilege.
Property name | Brief description | |
Description | The Description property returns the privilege description. | |
Holder | The Holder property returns parameters of the security subject that has this privilege. | |
HolderCount | The HolderCount property returns the number of security subjects that have this privilege. | |
Name | The Name property returns the privilege name. | |
Predefined | The Predefined property returns the system privilege using the values of the MetabasePolicyPredefinedPrivilege enumeration. |
Method name | Brief description | |
Grant | The Grant method grants the privilege for the specified security subject. | |
Revoke | The Revoke method revokes the privilege from the specified security subject. | |
SubjectGranted | The SubjectGranted method returns whether the specified security subject has this privilege. |
See also: