IAzScope::DeletePolicyAdministrator method

The DeletePolicyAdministrator method removes the specified security identifier (SID) in text form from the list of principals that act as policy administrators.

Syntax


HRESULT DeletePolicyAdministrator(
  [in]           BSTR bstrAdmin,
  [in, optional] VARIANT varReserved
);

Parameters

bstrAdmin [in]

Text form of the SID to remove from the list of policy administrators.

varReserved [in, optional]

Reserved for future use.

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, use the PolicyAdministrators property.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Azroles.h

Library

Azroles.lib

DLL

Azroles.dll

IID

IID_IAzScope is defined as 00e52487-e08d-4514-b62e-877d5645f5ab

 

 

Show: