Location: Symbol Reference > Classes > TJwSecurityId Class > TJwSecurityId Methods > TJwSecurityId.CheckSID Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityId.CheckSID Method
Pascal
procedure CheckSID;

CheckSID checks if the SID instance contains a valid SID structure. If SID is not a correct SID, an exception will be raised.

Exceptions 
Description 
if the property SID is nil OR if the SID structure is invalid due to a call to MSDN function IsValidSid (http://msdn2.microsoft.com/en-us/library/aa379151.aspx). The IsValidSid function validates a security identifier (SID) by verifying that the revision number is within a known range, and that the number of subauthorities is less than the maximum. 
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!