IAzClientContext3::GetOperations method (azroles.h)

The GetOperations method returns a collection of the operations, within the specified scope, that the principal represented by the current client context has permission to perform.

Syntax

HRESULT GetOperations(
  [in]  BSTR          bstrScopeName,
  [out] IAzOperations **ppOperationCollection
);

Parameters

[in] bstrScopeName

The name of the scope to check.

[out] ppOperationCollection

The address of a pointer to the collection of operations that the principal represented by the current client context has permission to perform.

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

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