This interface provides helper methods that you can use to retrieve descriptive information for a particular access right or access level (a commonly-used combination of access rights) for a particular object. The most typical use of this interface's methods is to populate a security edit dialog. For example, you can retrieve a
for an object, then use these methods to list the access rights and levels that a user can add. You can also retrieve the display name, descriptive text, and the permission type for the object.
The user must have Read (
) permission on the parent object to be able to retrieve the permission description information.
You can get an instance of this object in the following ways:
- By iterating an
collection.AccessPermissionDescriptionList - By retrieving the
property from aTemplatePermissionDescriptions
object.SecurityTemplate - By retrieving the
property from aPermissionDescriptions
object.ClassDescription
These methods return an
collection from which you can retrieve an
object.
The following tables list the members exposed by IAccessPermissionDescription.
Public Properties
Name | Description | |
---|---|---|
![]() | AccessMask | A bitmask combining bit values representing the security access rights granted on a given object. The property behavior is as follows:
|
![]() | PermissionType | Returns the type (right or level) of the described permission. Valid types are single (that is, a single access right), level (a commonly used combination of access rights), default level (that is, the recommended level for new permissions), and inherited (relevant only to child objects of the parent object described by the permission). |