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.IAzApplication.AddPolicyReaderName |
IAzApplication::AddPolicyReaderName (azroles.h) |
Adds the specified account name to the list of principals that act as policy readers. (IAzApplication.AddPolicyReaderName) |
|
security\iazapplication_addpolicyreadername.htm |
security |
cc81527a-7a38-4c5c-857e-bedcda5a5ac3 |
12/05/2018 |
AddPolicyReaderName, AddPolicyReaderName method [Security], AddPolicyReaderName method [Security],AzApplication object, AddPolicyReaderName method [Security],IAzApplication interface, AzApplication object [Security],AddPolicyReaderName method, IAzApplication interface [Security],AddPolicyReaderName method, IAzApplication.AddPolicyReaderName, IAzApplication::AddPolicyReaderName, azroles/IAzApplication::AddPolicyReaderName, security.iazapplication_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 |
|
|
|
|
|
|
The AddPolicyReaderName method adds the specified account name to the list of principals that act as policy readers.
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.
Reserved for future use.
If the method succeeds, the method returns S_OK.
Any other HRESULT value indicates that the operation failed.
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.