Impersonates the security context of a client connection.
int srv_impersonate_client ( SRV_PROC * srvproc );
SUCCEED if the security context of the client connection was impersonated; otherwise, FAIL.
After calling srv_impersonate_client, the Open Data Services application can perform operations on a client’s behalf by using the security context of the client connection. This is called “pass-through” security. To stop impersonating the client connection, call srv_revert_to_self.
Using srv_impersonate_client for “pass-through” security simplifies the setup and administration of security procedures because:
The srv_impersonate_client function currently supports impersonating client connections that use the Named Pipes or Multiprotocol Net-Libraries.
srv_revert_to_self |