Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 2.71 KB

nf-azroles-iaztask2-roleassignments.md

File metadata and controls

73 lines (59 loc) · 2.71 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:azroles.IAzTask2.RoleAssignments
IAzTask2::RoleAssignments (azroles.h)
Returns a collection of the role assignments associated with this task.
IAzTask2 interface [Security]
RoleAssignments method
IAzTask2.RoleAssignments
IAzTask2::RoleAssignments
RoleAssignments
RoleAssignments method [Security]
RoleAssignments method [Security]
IAzTask2 interface
azroles/IAzTask2::RoleAssignments
security.iaztask2_roleassignments_method
security\iaztask2_roleassignments_method.htm
security
1c60b9e7-3d02-4dce-9c45-cf9bf9b83ace
12/05/2018
IAzTask2 interface [Security],RoleAssignments method, IAzTask2.RoleAssignments, IAzTask2::RoleAssignments, RoleAssignments, RoleAssignments method [Security], RoleAssignments method [Security],IAzTask2 interface, azroles/IAzTask2::RoleAssignments, security.iaztask2_roleassignments_method
azroles.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Azroles.idl
Windows
19H1
IAzTask2::RoleAssignments
azroles/IAzTask2::RoleAssignments
c++
APIRef
kbSyntax
COM
Azroles.h
IAzTask2.RoleAssignments

IAzTask2::RoleAssignments

-description

The RoleAssignments method returns a collection of the role assignments associated with this task.

-parameters

-param bstrScopeName [in]

The name of the scope in which to check for role assignments. If the value of this parameter is an empty string, the method checks for role assignments at the application level.

-param bRecursive [in]

TRUE if the method checks all scopes within the application; otherwise, FALSE. This parameter is ignored if the value of the bstrScopeName parameter is not NULL.

-param ppRoleAssignments [out]

The address of a pointer to an IAzRoleAssignments interface that represents the collection of IAzRoleAssignment objects associated with this task.

-returns

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.