Location: Symbol Reference > Classes > TJwSecurityId Class > TJwSecurityId Methods > GetWindowsAccountDomainSid Method > TJwSecurityId.GetWindowsAccountDomainSid Method (TJwSecurityId)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.GetWindowsAccountDomainSid Method (TJwSecurityId)
Pascal
class function GetWindowsAccountDomainSid(aSID: TJwSecurityId): TJwSecurityId; overload;
Parameters 
Description 
aSID: TJwSecurityId 
contains the sid to be examined.  

GetWindowsAccountDomainSid returns the sid domain of the sid instance.

GetWindowsAccountDomainSid returns the domain sid of the sid instance given as parameter. The current SID instance will be checked with CheckSID. Also the the parameter aSID and the result will be checked in this way. 

This function simulates the WINAPI function GetWindowsAccountDomainSid and is therefore also available on Windows 2000. 

 

Exceptions 
Description 
if parameter aSID is nil 
This exception is raised if the given SID instance does not match the pattern "S-1-5-21-xx-yy-zz..." 
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!