IAzRole::DeleteMember method (azroles.h)

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

Syntax

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

Parameters

[in] bstrProp

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

[in, optional] varReserved

Reserved for future use.

Return value

If the method succeeds, it will return S_OK. Any other HRESULT value indicates that the operation failed.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP

See also

Members