Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > GetNamedSecurityInfo Method > TJwSecureGeneralObject.GetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityId, TJwSecurityId, TJwDAccessControlList, TJwSAccessControlList)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.GetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityId, TJwSecurityId, TJwDAccessControlList, TJwSAccessControlList)
Pascal
class procedure GetNamedSecurityInfo(const anObjectName: TJwString; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet; out anOwner: TJwSecurityId; out anGroup: TJwSecurityId; out aDACL: TJwDAccessControlList; out aSACL: TJwSAccessControlList); override; overload;
Parameters 
Description 
const anObjectName: TJwString 
defines the name of an object which security information is to be retrieved  
const aObjectType: TSeObjectType 
defines the object 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. 

GetNamedSecurityInfo retrieves security information from a named object.

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!