Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 3.51 KB

nf-azroles-iazapplication-addpolicyreadername.md

File metadata and controls

78 lines (62 loc) · 3.51 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.IAzApplication.AddPolicyReaderName
IAzApplication::AddPolicyReaderName (azroles.h)
Adds the specified account name to the list of principals that act as policy readers. (IAzApplication.AddPolicyReaderName)
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
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
IAzApplication::AddPolicyReaderName
azroles/IAzApplication::AddPolicyReaderName
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzApplication.AddPolicyReaderName
AzApplication.AddPolicyReaderName

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

Any other HRESULT value indicates that the operation failed.

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