srv_revert_to_self

Stops impersonation of the security context of a client connection, reverting to the original security context of the Open Data Services application.

Syntax

int srv_revert_to_self ( SRV_PROC * srvproc );

Arguments
srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection. The srvproc parameter contains information the ODS Library uses to manage communication and data between the application and the client.
Returns

SUCCEED if the original security context of the Open Data Services application was restored; otherwise, FAIL.

Remarks

Call this function to stop the impersonation started by srv_impersonate_client.

See Also
srv_impersonate_client  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.