IAzRoleDefinition interface (azroles.h)

The IAzRoleDefinition interface represents one or more IAzRoleDefinition, IAzTask, and IAzOperation objects that specify a set of operations. If an IAzRoleAssignment object is associated with an IAzRoleDefinition object, users and groups assigned to that IAzRoleAssignment object are allowed to access the operations specified by that IAzRoleDefinition object.


The IAzRoleDefinition interface inherits from IAzTask. IAzRoleDefinition also has these types of members:


The IAzRoleDefinition interface has these methods.


Adds the specified IAzRoleDefinition object to this IAzRoleDefinition object.

Removes the IAzRoleDefinition object with the specified name from this IAzRoleDefinition object.

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

Retrieves a collection of IAzRoleAssignment objects that represent the role assignments associated with this IAzRoleDefinition object.


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