|
JWSCL Documentation
|
|
Parameters |
Description |
|
const SystemName: TJwString |
contains the target computer name. It can be null to use the local system. |
|
out DomainName: TJwString |
[out] gets the domain name of this SID |
|
out SidNameUse: TSidNameUse |
[out] gets the SID use type. It will be one of the following constant :
|
GetAccountSidString returns the account name associated by this SID.
GetAccountSidString gets the domain and acount name of the SID. It also returns the type of Sid Name.
If the compiler directive JWSCL_SIDCACHE or JWSCL_USE_CACHES is active GetAccountSidString uses an caching algorithm per thread basis to return the name. A new SID is stored in the global JwSidNameCache variable (per thread) and used every time the same SID is returned. A SID is determined by its SidString (property) and its System name.
|
Exceptions |
Description |
|
if the call to a winapi function failed | |
|
See CheckSID for more exceptions |
|
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!
|