|
JWSCL Documentation
|
property UserSid: TJwSecurityID;
UserSid returns the logged on User of the session. This call needs the TCB privilege and the process must run under SYSTEM account; otherwise EJwsclPrivilegeCheckException, EJwsclWinCallFailedException is raised.
The returned token is the user's primary access token which can be passed directly to CreateProcessAsUser in order to launch a process in the user's Session.
The returned value is cached and must not be freed! If the value cannot be obtained the return value is @nil.
|
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!
|