18.104.22.168.3 SamrCreateAliasInDomain (Opnum 14)
The SamrCreateAliasInDomain method creates an alias.
long SamrCreateAliasInDomain( [in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING AccountName, [in] unsigned long DesiredAccess, [out] SAMPR_HANDLE* AliasHandle, [out] unsigned long* RelativeId );
AccountName: The value to use as the name of the alias. Details on how this value maps to the data model are provided later in this section.
DesiredAccess: The access requested on the AliasHandle on output. See section 22.214.171.124 for a listing of possible values.
AliasHandle: An RPC context handle, as specified in section 126.96.36.199.
RelativeId: The RID of the newly created 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.