function JwGetMachineSid(const ComputerOrDNS: WideString = ''): TJwSecurityId;
|
Parameters |
Description |
|
const ComputerOrDNS: WideString = '' |
defines a DNS or NetBIOS name of the remote server. If empty the local machine is used |
Returns an instance of TJwSecurityId which presents the machine
JwGetMachineSid returns a local or remote machine's SID. Warning: This function may need some time on remote machines.
|
Exceptions |
Description |
|
is raised if retrieving of the machine sid is denied. This usually occurs if a remote system could not authenticate the local one. | |
|
is called if the system in parameter ComputerOrDNS could not be resolved. | |
|
is raised if a call to NetUserEnum failed. | |
|
is raied if data returned by NetUserEnum 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!
|