IPrivilege

Description

The IPrivilege interface contains properties and methods of privilege of a security manager.

Properties

  Property name Brief description
Description The Description property returns description of the privilege.
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 a name of the privilege.
Predefined The Predefined property returns the system privilege using the values of the MetabasePolicyPredefinedPrivilege enumeration.

Methods

  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:

Metabase Assembly Interfaces