3.1.5.5.6 SamrQueryInformationUser (Opnum 36)
The SamrQueryInformationUser method obtains attributes from a user object.
-
long SamrQueryInformationUser( [in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER* Buffer );
See the description of SamrQueryInformationUser2 (section 3.1.5.5.5) 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 SamrQueryInformationUser2, with the following parameter values.
Parameter name |
Parameter value |
---|---|
UserHandle |
SamrQueryInformationUser.UserHandle |
UserInformationClass |
SamrQueryInformationUser.UserInformationClass |
Buffer |
SamrQueryInformationUser.Buffer |