Location: Symbol Reference > Classes > TJwSecurityId Class > Create Constructor > TJwSecurityId.Create Constructor (TJwString, TJwString)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.Create Constructor (TJwString, TJwString)
Pascal
constructor Create(const SystemName: TJwString; const AccountName: TJwString); overload;
Parameters 
Description 
const SystemName: TJwString 
can be a computer or domain name. Can also be empty so the local computer will be used.  
const AccountName: TJwString 
contains the user account name to be converted into a SID 

Create creates a SID instance from a user and domain account. The resulted SID will be checked by CheckSID

 

Exceptions 
Description 
will be raised if a call to ConvertStringSidToSid failed 
See CheckSID for exceptions description
 
COM 
Also available as com method. 
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!