Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 3.87 KB

nf-azroles-iazauthorizationstore-addpolicyreadername.md

File metadata and controls

78 lines (62 loc) · 3.87 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.IAzAuthorizationStore.AddPolicyReaderName
IAzAuthorizationStore::AddPolicyReaderName (azroles.h)
Adds the specified account name to the list of principals that act as policy readers. (IAzAuthorizationStore.AddPolicyReaderName)
AddPolicyReaderName
AddPolicyReaderName method [Security]
AddPolicyReaderName method [Security]
AzAuthorizationStore object
AddPolicyReaderName method [Security]
IAzAuthorizationStore interface
AzAuthorizationStore object [Security]
AddPolicyReaderName method
IAzAuthorizationStore interface [Security]
AddPolicyReaderName method
IAzAuthorizationStore.AddPolicyReaderName
IAzAuthorizationStore::AddPolicyReaderName
azroles/IAzAuthorizationStore::AddPolicyReaderName
security.azauthorizationstore_addpolicyreadername
security\azauthorizationstore_addpolicyreadername.htm
security
3b111542-61d6-4e5d-abf8-0af61161c885
12/05/2018
AddPolicyReaderName, AddPolicyReaderName method [Security], AddPolicyReaderName method [Security],AzAuthorizationStore object, AddPolicyReaderName method [Security],IAzAuthorizationStore interface, AzAuthorizationStore object [Security],AddPolicyReaderName method, IAzAuthorizationStore interface [Security],AddPolicyReaderName method, IAzAuthorizationStore.AddPolicyReaderName, IAzAuthorizationStore::AddPolicyReaderName, azroles/IAzAuthorizationStore::AddPolicyReaderName, security.azauthorizationstore_addpolicyreadername
azroles.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Azroles.lib
Azroles.dll
Windows
Windows Server 2003 Administration Tools Pack on Windows XP
19H1
IAzAuthorizationStore::AddPolicyReaderName
azroles/IAzAuthorizationStore::AddPolicyReaderName
c++
APIRef
kbSyntax
COM
Azroles.dll
AzAuthorizationStore.AddPolicyReaderName
IAzAuthorizationStore.AddPolicyReaderName

IAzAuthorizationStore::AddPolicyReaderName

-description

The AddPolicyReaderName method adds the specified account name to the list of principals that act as policy readers.

-parameters

-param bstrReader [in]

Account name to add to the list of policy readers. The account name must be in user principal name (UPN) format (for example, "someone@example.com"). The LookupAccountName function is called to retrieve the domain.

-param varReserved [in, optional]

Reserved for future use.

-returns

If the method succeeds, the method returns S_OK.

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

-remarks

Policy readers for an object can read attributes for the object and for child objects of the object. Readers can also use the policy; for example, readers can call the AccessCheck method. Readers cannot modify the object or its child objects.

To view the list of policy readers in account name format, use the PolicyReadersName property.

You must call the Submit method to persist any changes made by this method.