Compartir a través de


3.1.5.6.5 SamrSetInformationUser (Opnum 37)

The SamrSetInformationUser method updates attributes on a user object.

 long SamrSetInformationUser(
   [in] SAMPR_HANDLE UserHandle,
   [in] USER_INFORMATION_CLASS UserInformationClass,
   [in, switch_is(UserInformationClass)] 
     PSAMPR_USER_INFO_BUFFER Buffer
 );

See the description of SamrSetInformationUser2 (section 3.1.5.6.4) for details, because the method interface arguments and message processing are identical.

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 a call to SamrSetInformationUser2, with the following parameter values.

Parameter name

Parameter value

UserHandle

SamrSetInformationUser.UserHandle

UserInformationClass

SamrSetInformationUser.UserInformationClass

Buffer

SamrSetInformationUser.Buffer