function JwGetLogonSID(const hWinStation: HWINSTA = 0): TJwSecurityId; overload;
|
Parameters |
Description |
|
const hWinStation: HWINSTA = 0 |
defines the window station that is used. If 0 the window station "WinSta0" is used. TWindowStation |
The logon SID.
JwGetLogonSID gets the logon SID of the given window station.
Remark: This function is useful if a new user must have access to the given windows station so she can create windows. One do not have to add the new user to the window station DACL. This does not work if the user is not logged on as an interactive user.
|
Exceptions |
Description |
|
will be raised if a call to GetUserObjectInformation failed. |
|
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!
|