TJwOnGetNamedSecurityInfo = function (PathName : TJwString; SeType : TSeObjectType; const aSecurityInfo: TJwSecurityInformationFlagSet; var OwnedSD : Boolean; const Data : Pointer) : TJwSecurityDescriptor of object;
|
Parameters |
Description |
|
PathName |
Defines the full path name to the object which permission must be retrieved. |
|
SeType |
Defines the type of the object. It is intended for a direct call to WINAPI GetNamedSecurityInfo. GetFileInheritanceSource always sets it to SE_FILE_OBJECT. |
|
aSecurityInfo |
defines the type of security information to be retrieved (Owner, Group, DACL, SACL). GetFileInheritanceSource sets it to siDaclSecurityInformation. |
|
OwnedSD |
Receives whether the returned security descriptor can be freed securely. Set to true if the caller (of this event) should not free it; otherwise set to false (default). |
|
Data |
This parameter contains user defined data. |
Returns the security descriptor for this object. The caller frees the security descriptor if parameter OwnedSD is false (default). If the return value is nil the result depends on the caller. GetFileInheritanceSource aborts the current process and returns the inheritance as it was in this moment.
TJwOnGetNamedSecurityInfo is called by if a security information must be retrieved. GetFileInheritanceSource calls this event for the main object and every parent which permissions are retrieved.
|
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!
|