Location: Symbol Reference > Classes > TJwSecureRegistryKey Class > TJwSecureRegistryKey Methods > GetKeyInheritanceSource Method > TJwSecureRegistryKey.GetKeyInheritanceSource Method (boolean, TJwSecurityInformationFlagSet)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureRegistryKey.GetKeyInheritanceSource Method (boolean, TJwSecurityInformationFlagSet)
Pascal
function GetKeyInheritanceSource(const bUseWOW64: boolean = False; const aSecurityInfo: TJwSecurityInformationFlagSet = [siDaclSecurityInformation]): TJwInheritedFromArray; virtual; overload;

The return value is an array of TJwInheritedFromRecord with the count of ACE in the DACL of the object in PathName Each array entry consists of 

  • GenerationGap Levels between the object and the ancestor
  • AncestorName Name of the ancestor from which the ACE was inherited
  • SID The SID that is inherited. The string has the type  

    <SID account name>@<S-X-X...> 

GetKeyInheritanceSource retrieves the source if inheritance for the ACEs in the ACL of the given object. This method simulates GetInheritanceSource, so that it can be used in all windows versions with ACL support. 

 

Exceptions 
Description 
will be raised if the instance is created with a handle instead of a file or folder name. 
will be raised if the object could not be accessed or found. 
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!