IAzApplicationGroup2::RoleAssignments method (azroles.h)

The RoleAssignments method gets a collection of IAzRoleAssignment objects associated with this application group.

This property is read-only.

Syntax

HRESULT RoleAssignments(
  BSTR               bstrScopeName,
  VARIANT_BOOL       bRecursive,
  IAzRoleAssignments **ppRoleAssignments
);

Parameters

bstrScopeName

Provides a scope name to include in the search for IAzRoleAssignment objects. If this parameter is NULL, the search is performed in the global scope.

bRecursive

Indicates if the search for IAzRoleAssignment objects should be performed recursively.

ppRoleAssignments

The list of IAzRoleAssignment objects associated with the specified application group.

Return value

If the method succeeds, it will return S_OK. Any other HRESULT value indicates that the operation failed.

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

See also

IAzRoleAssignment