|
JWSCL Documentation
|
class function GetInheritanceSource(const pObjectName: TJwString; const aObjectType: TSeObjectType; const aSecurityInfo: TJwSecurityInformationFlagSet; const bContainer: boolean; const GUIDs: TJwGuidArray; const ACL: TJwSecurityAccessControlList; const Mapping: TJwSecurityGenericMappingClass; const FN_OBJECT_MGR_FUNCTS: Pointer = nil): TJwInheritedFromArray; override;
|
Parameters |
Description |
|
const pObjectName: TJwString |
LPTSTR pObjectName, LPTSTR pObjectName, |
|
const aObjectType: TSeObjectType |
SE_OBJECT_TYPE ObjectType, SE_OBJECT_TYPE ObjectType, |
|
const aSecurityInfo: TJwSecurityInformationFlagSet |
SECURITY_INFORMATION SecurityInfo, SECURITY_INFORMATION SecurityInfo, |
|
const bContainer: boolean |
BOOL Container, BOOL Container, |
|
const GUIDs: TJwGuidArray |
GUID** pObjectClassGuids, GUID** pObjectClassGuids, |
|
const ACL: TJwSecurityAccessControlList |
PACL pAcl, PACL pAcl, |
|
const Mapping: TJwSecurityGenericMappingClass |
PGENERIC_MAPPING pGenericMapping, PGENERIC_MAPPING pGenericMapping, |
The return value is an array of TJwInheritedFromRecord that maps the winapi struct INHERITED_FROM to a Delphi type. The function FreeInheritedFromArray must not be called therefor, instead use SetLength(result,0); The member SID is not used here.
This function does not work in all version of Windows XP. If so the exception EJwsclInheritanceSourceNotSupportedException is raised.
GetInheritanceSource retrieves the source if inheritance for the ACEs in the ACL of the given object. See MSDN http://msdn2.microsoft.com/en-us/library/aa446640.aspx.
|
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!
|