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. |
|
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 |
|
|
|
|
|
|
The IsInRoleAssignment method checks whether the principal represented by the current client context is a member of the specified role in the specified scope.
The name of the scope to check.
The name of the role to check.
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.
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.