Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 2.71 KB

nf-azroles-iazclientcontext3-isinroleassignment.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.IAzClientContext3.IsInRoleAssignment
IAzClientContext3::IsInRoleAssignment (azroles.h)
Checks whether the principal represented by the current client context is a member of the specified role in the specified scope.
IAzClientContext3 interface [Security]
IsInRoleAssignment method
IAzClientContext3.IsInRoleAssignment
IAzClientContext3::IsInRoleAssignment
IsInRoleAssignment
IsInRoleAssignment method [Security]
IsInRoleAssignment method [Security]
IAzClientContext3 interface
azroles/IAzClientContext3::IsInRoleAssignment
security.iazclientcontext3_isinroleassignment_method
security\iazclientcontext3_isinroleassignment_method.htm
security
20e19ee7-3b65-4f0f-ba19-7fb6cbbaea7b
12/05/2018
IAzClientContext3 interface [Security],IsInRoleAssignment method, IAzClientContext3.IsInRoleAssignment, IAzClientContext3::IsInRoleAssignment, IsInRoleAssignment, IsInRoleAssignment method [Security], IsInRoleAssignment method [Security],IAzClientContext3 interface, azroles/IAzClientContext3::IsInRoleAssignment, security.iazclientcontext3_isinroleassignment_method
azroles.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Azroles.idl
Windows
19H1
IAzClientContext3::IsInRoleAssignment
azroles/IAzClientContext3::IsInRoleAssignment
c++
APIRef
kbSyntax
COM
Azroles.h
IAzClientContext3.IsInRoleAssignment

IAzClientContext3::IsInRoleAssignment

-description

The IsInRoleAssignment method checks whether the principal represented by the current client context is a member of the specified role in the specified scope.

-parameters

-param bstrScopeName [in]

The name of the scope to check.

-param bstrRoleName [in]

The name of the role to check.

-param pbIsInRole [out]

VARIANT_TRUE if the principal represented by the current client context is a member of the role specified by the bstrRoleName parameter in the scope specified by the bstrScopeName parameter; otherwise, VARIANT_FALSE.

-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.