Location: Symbol Reference > Classes > TJwSecurityAccessControlList Class > TJwSecurityAccessControlList Methods > TJwSecurityAccessControlList.FindEqualACE Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityAccessControlList.FindEqualACE Method
Pascal
function FindEqualACE(const AccessEntry: TJwSecurityAccessControlEntry; EqualAceTypeSet: TJwEqualAceTypeSet; const StartIndex: integer = -1; const Inclusion: TJwInclusionFlags = [ifInherited, ifExplicit, ifContainer, ifLeaf]; const Exclusion: TJwExclusionFlags = []; const Reverse: Boolean = false): integer;
Parameters 
Description 
EqualAceTypeSet: TJwEqualAceTypeSet 
defines the criterias that are used to compare the ACE. The following criterias are available and can be combined in a set.
  • eactSameSid The SID is used to compare (EqualSID) and must be equal
  • eactSameFlags The Flags are compared and must be equal
  • eactSameAccessMask The AccessMasks are compared and must be equal
  • eactSameType The ACE type (deny, allow) are compared and must be equal
 
const StartIndex: integer = -1 
defines the start position for the search in the ACL list starting from zero (0). new 
const Inclusion: TJwInclusionFlags = [ifInherited, ifExplicit, ifContainer, ifLeaf] 
Is currently not used.  
const Exclusion: TJwExclusionFlags = [] 
Is currently not used.
 
ACE 
defines the ACE to be searched for in the list.  

Returns the position of the found ACE in the list starting from 0. If the value iPos is out of bounds, or the ACE could not be found the return value is -1 

 

FindEqualACE seeks for a ACE in the ACList. 

 

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!