Location: Symbol Reference > Classes > TJwComServerSecurity Class > TJwComServerSecurity Methods > TJwComServerSecurity.ImpersonateClient Method
JWSCL Documentation
TJwComServerSecurity.ImpersonateClient Method
procedure ImpersonateClient;

Impersonates the current thread and removes any previous thread token.

Use this call instead of CoImpersonateClient because it raises an exception if the call fails. Without checking the return value any subsequent call will run on the process token which is a security breach.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!