Reference

RpcImpersonateClient(3w)

NAME

RpcImpersonateClient (RPCRT4.@)

SYNOPSIS

RPC_STATUS RpcImpersonateClient
(
RPC_BINDING_HANDLE BindingHandle
)

DESCRIPTION

Impersonates the client connected via a binding handle so that security checks are done in the context of the client.

PARAMS

BindingHandle [In] Handle to the binding to the client.

RETURNS

Success: RPS_S_OK.

Failure: RPC_STATUS value.

NOTES

If BindingHandle is NULL then the function impersonates the client connected to the binding handle of the current thread.

IMPLEMENTATION

Declared in "rpcdce.h".

Implemented in "dlls/rpcrt4/rpc_binding.c".

Debug channel "rpc".

History