Export (0) Print
Expand All

IAzApplication::DelegatedPolicyUsers property

The DelegatedPolicyUsers property retrieves the security identifiers (SIDs), in text form, of principals that act as delegated policy users.

This property is read-only.

Syntax


HRESULT get_DelegatedPolicyUsers(
  [out]  VARIANT *pvarDelegatedPolicyUsers
);

Property value

A pointer to a VARIANT used to return a SAFEARRAY. Each element of the SAFEARRAY is a VARIANT of type BSTR that contains the SID (in text form) of a principal that acts as a delegated policy user.

Error codes

If the property access method get_DelegatedPropertyUsers succeeds, the method returns S_OK.

Any other HRESULT value indicates that the call failed. An attempt to call this method on an XML store will return E_INVALIDARG.

Remarks

Delegated policy users are principals that are allowed to read the subset of the policy data that the policy administrator of an IAzApplication object uses to administer the delegated object.

Note  Delegated policy users are not supported for XML stores.

In JScript, the returned SAFEARRAY must be converted to the JScript Array object.

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_IAzApplication is defined as 987BC7C7-B813-4D27-BEDE-6BA5AE867E95

 

 

Community Additions

ADD
Show:
© 2014 Microsoft