IAzClientContext3::GetTasks method (azroles.h)

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

Syntax

HRESULT GetTasks(
  [in]  BSTR     bstrScopeName,
  [out] IAzTasks **ppTaskCollection
);

Parameters

[in] bstrScopeName

The name of the scope to check.

[out] ppTaskCollection

The address of a pointer to the collection of tasks 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