Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > GetSecurityInfo Method > TJwSecureGeneralObject.GetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityId, TJwSecurityId, TJwDAccessControlList, TJwSAccessControlList)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.GetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityId, TJwSecurityId, TJwDAccessControlList, TJwSAccessControlList)
Pascal
class procedure GetSecurityInfo(const aHandle: THandle; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet; out anOwner: TJwSecurityId; out anGroup: TJwSecurityId; out aDACL: TJwDAccessControlList; out aSACL: TJwSAccessControlList); override; overload;
Parameters 
Description 
const aObjectType: TSeObjectType 
defines the handle type  
aSecurityInfo: TJwSecurityInformationFlagSet 
defines which security information is retrieved from the SD and used in the handle  
out anOwner: TJwSecurityId 
if aSecurityInfo contains the flag siOwnerSecurityInformation, this parameter will contain the OwnerSID instance. The caller musst free this instance.  
out anGroup: TJwSecurityId 
if aSecurityInfo contains the flag siGroupSecurityInformation, this parameter will contain the GroupSID instance. The caller musst free this instance.  
out aDACL: TJwDAccessControlList 
if aSecurityInfo contains the flag siDaclSecurityInformation, this parameter will contain the DACL instance. The caller musst free this instance.  
out aSACL: TJwSAccessControlList 
if aSecurityInfo contains the flag siSaclSecurityInformation, this parameter will contain the DACL instance. The caller musst free this instance. 
anObjectName 
defines the name of a handle which security information is to be retrieved.  

GetSecurityInfo retrieves security information from a handle.

Exceptions 
Description 
will be raised if a call to the winapi function failed. 
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!