Location: Symbol Reference > Classes > TJwSecurityId Class > TJwSecurityId Methods > TJwSecurityId.EqualPrefixSid Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.EqualPrefixSid Method
Pascal
function EqualPrefixSid(pSid1: TJwSecurityId): boolean; virtual;
Parameters 
Description 
pSid1: TJwSecurityId 
the SID to be compared with the current sid instance  

If the SID prefixes are equal, the return value is true; otherwise false

EqualPrefixSid tests two security-identifier (SID) prefix values for equality. A SID prefix is the entire SID except for the last subauthority value 

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

 

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