IAzApplicationGroup::AddAppNonMember method (azroles.h)
The AddAppNonMember method adds the specified IAzApplicationGroup object to the list of application groups that are refused membership in this application group.
Syntax
HRESULT AddAppNonMember(
[in] BSTR bstrProp,
[in, optional] VARIANT varReserved
);
Parameters
[in] bstrProp
String that contains the Name property of the IAzApplicationGroup object to add to the list of the application groups that are refused membership in this application group.
[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 application groups that are refused membership in this application group, use the AppNonMembers property.
Denying membership to an account in an application group does not prevent that account from being assigned to a role through a different application group, nor from being granted permission to a resource through assignment to any other role.
You must call the Submit method to persist any changes made by this method.
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 |