Location: Symbol Reference > Classes > TJwSecurityIdList Class > TJwSecurityIdList Methods > TJwSecurityIdList.FindSid Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityIdList.FindSid Method
Pascal
function FindSid(aSID: TJwSecurityId; startpos: integer = -1; usePrefix: boolean = False): integer;
Parameters 
Description 
aSID: TJwSecurityId 
a SID instance which identifier is searsched in the list  
startpos: integer = -1 
defines the start index of the search excluding the given index.  
usePrefix: boolean = False 
defines whether EqualPrefixSid (true) or EqualSid (false) is used to search the SID  

Returns the index of the found SID in the list; otherwise -1 if the SID could not be found.

FindSid seeks for a given SID using its identifier. The function does not raise an exception. 

 

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!