IAzApplicationGroup::DeleteNonMemberName method (azroles.h)

The DeleteNonMemberName method removes the specified account name from the list of accounts that are refused membership in the application group.

Syntax

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

Parameters

[in] bstrProp

String that contains the account name to remove from the list of accounts that are refused membership in the application group. The account name must be in user principal name (UPN) format (for example, someone@example.com). The LookupAccountName function is called to retrieve the domain.

[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 account names of accounts that are refused membership in this application group, use the NonMembersName 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

LookupAccountName

NonMembersName