184.108.40.206.5 SamrRemoveMemberFromAlias (Opnum 32)
The SamrRemoveMemberFromAlias method removes a member from an alias.
long SamrRemoveMemberFromAlias( [in] SAMPR_HANDLE AliasHandle, [in] PRPC_SID MemberId );
This protocol asks the RPC runtime, via the strict_context_handle attribute, to reject the use of context handles created by a method of a different RPC interface than this one, as specified in [MS-RPCE] section 3.
Upon receiving this message, the server MUST process the data from the message subject to the following constraints:
The server MUST return an error if AliasHandle.HandleType is not equal to "Alias".
AliasHandle.GrantedAccess MUST have the required access specified in section 220.127.116.11. Otherwise, the server MUST return STATUS_ACCESS_DENIED.
All database operations MUST occur in a single transaction.
Let A be the alias object referenced by the AliasHandle.Object.
If A's member attribute does not have a dsname value that references the object whose objectSid is MemberId, the server MUST return an error.
A's member attribute MUST be updated to remove a dsname value that references the object with the objectSid value MemberId.