Export (0) Print
Expand All

IAzRole::AddMember method

The AddMember method adds the specified security identifier (SID) in text form to the list of Windows accounts that belong to the role.

Syntax


HRESULT AddMember(
  [in]            BSTR bstrProp,
  [in, optional]  VARIANT varReserved
);

Parameters

bstrProp [in]

String that contains the text form of the SID to add to the list of Windows accounts that belong to the role.

varReserved [in, optional]

Reserved for future use.

Remarks

To view the list of SIDs of Windows accounts that belong to this role in text form, use the Members property.

You must call the Submit method to persist any changes made by this method.

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_IAzRole is defined as 859e0d8d-62d7-41d8-a034-c0cd5d43fdfa

 

 

Community Additions

ADD
Show:
© 2015 Microsoft