Skip to content

Latest commit

 

History

History
85 lines (70 loc) · 3.86 KB

nf-azroles-iazapplication-deletepolicyadministratorname.md

File metadata and controls

85 lines (70 loc) · 3.86 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.DeletePolicyAdministratorName
IAzApplication::DeletePolicyAdministratorName (azroles.h)
Removes the specified account name from the list of principals that act as policy administrators. (IAzApplication.DeletePolicyAdministratorName)
AzApplication object [Security]
DeletePolicyAdministratorName method
DeletePolicyAdministratorName
DeletePolicyAdministratorName method [Security]
DeletePolicyAdministratorName method [Security]
AzApplication object
DeletePolicyAdministratorName method [Security]
IAzApplication interface
IAzApplication interface [Security]
DeletePolicyAdministratorName method
IAzApplication.DeletePolicyAdministratorName
IAzApplication::DeletePolicyAdministratorName
azroles/IAzApplication::DeletePolicyAdministratorName
security.iazapplication_deletepolicyadministratorname
security\iazapplication_deletepolicyadministratorname.htm
security
6da92103-6de0-4310-b52c-c1441e775da8
12/05/2018
AzApplication object [Security],DeletePolicyAdministratorName method, DeletePolicyAdministratorName, DeletePolicyAdministratorName method [Security], DeletePolicyAdministratorName method [Security],AzApplication object, DeletePolicyAdministratorName method [Security],IAzApplication interface, IAzApplication interface [Security],DeletePolicyAdministratorName method, IAzApplication.DeletePolicyAdministratorName, IAzApplication::DeletePolicyAdministratorName, azroles/IAzApplication::DeletePolicyAdministratorName, security.iazapplication_deletepolicyadministratorname
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::DeletePolicyAdministratorName
azroles/IAzApplication::DeletePolicyAdministratorName
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzApplication.DeletePolicyAdministratorName
AzApplication.DeletePolicyAdministratorName

IAzApplication::DeletePolicyAdministratorName

-description

The DeletePolicyAdministratorName method removes the specified account name from the list of principals that act as policy administrators.

-parameters

-param bstrAdmin [in]

Account name to remove from the list of policy administrators. The account name can be in either user principal name (UPN) format (for example, "someone@example.com") or in the format of "ExampleDomain\UserName". If the domain is not in the "ExampleDomain\UserName" format, 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 administrators for an object can perform the following tasks:

  • Read the object
  • Write attributes to the object
  • Read attributes of child objects of the object
  • Write attributes to child objects of the object
  • Delete the object
  • Delete child objects of the object
  • Create child objects of the object
To view the list of policy administrators in account name format, use the PolicyAdministratorsName property.