Freigeben über


1.7.2 Method Versioning

Clients determine whether a method is supported by attempting to invoke the method. If the RPC transport returns the error RPC_S_PROCNUM_OUT_OF_RANGE (section 2.2.1.16), the client tries the deprecated equivalent of the invoked method if there is one. The following table describes the deprecated method to invoke if the current method is not supported.<5>

Current method

Old method (in order of preference)

SamrQueryInformationDomain2

SamrQueryInformationDomain

SamrCreateUser2InDomain

SamrCreateUserInDomain

SamrQueryDisplayInformation3

SamrQueryDisplayInformation2

SamrQueryDisplayInformation

SamrGetDisplayEnumerationIndex2

SamrGetDisplayEnumerationIndex

SamrSetInformationUser2

SamrSetInformationUser

SamrConnect5

SamrConnect4

SamrConnect2