IAzRoleAssignment interface (azroles.h)

The IAzRoleAssignment interface represents a role to which users and groups can be assigned. A IAzRoleAssignment object can be associated with one or more IAzRoleDefinition, IAzTask, and IAzOperation objects that specify the operations to which users and groups assigned to the role can access.

Inheritance

The IAzRoleAssignment interface inherits from IAzRole. IAzRoleAssignment also has these types of members:

Methods

The IAzRoleAssignment interface has these methods.

 
IAzRoleAssignment::AddRoleDefinition

Adds the specified IAzRoleDefinition object to this IAzRoleAssignment object.
IAzRoleAssignment::DeleteRoleDefinition

Removes the IAzRoleDefinition object with the specified name from this IAzRoleAssignment object.
IAzRoleAssignment::get_RoleDefinitions

Retrieves a collection of the IAzRoleDefinition objects associated with this IAzRoleAssignment object.
IAzRoleAssignment::get_Scope

Retrieves the IAzScope object that represents the scope in which this IAzRoleAssignment object is defined.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header azroles.h