Partager via


3.1.5.8.8 SamrAddMultipleMembersToAlias (Opnum 52)

The SamrAddMultipleMembersToAlias method adds multiple members to an alias.

 long SamrAddMultipleMembersToAlias(
   [in] SAMPR_HANDLE AliasHandle,
   [in] PSAMPR_PSID_ARRAY MembersBuffer
 );

AliasHandle: An RPC context handle, as specified in section 2.2.7.2, representing an alias object.

MembersBuffer: A structure containing a list of SIDs to add as members to the alias.

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.

The server MUST behave as with N successive message calls to SamrAddMemberToAlias, once for each SID value in MembersBuffer, where MembersBuffer contains N elements. The server MUST ignore the processing error of a member value already being present in the member attribute and abort the request on any other processing error.