Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > GetNamedSecurityInfo Method > TJwSecureGeneralObject.GetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.GetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet)
Pascal
class function GetNamedSecurityInfo(const anObjectName: TJwString; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet): JwsclDescriptor; 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 type of the object  
aSecurityInfo: TJwSecurityInformationFlagSet 
defines which security information shall be retrieved and stored into the security descriptor. If the caller has not enough rights the function fails. So not all security information can be retrieved. E.g. the SACL can only retrieved with special privileges.  

Returns the security descriptor with the requested information.

GetNamedSecurityInfo returns the security descriptor 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!