Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > GetSecurityInfo Method > TJwSecureGeneralObject.GetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.GetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet)
Pascal
class function GetSecurityInfo(const aHandle: THandle; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet): JwsclDescriptor; override; overload;
Parameters 
Description 
const aObjectType: TSeObjectType 
defines the type of the handle  
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.  
anObjectName 
defines the name of a handle which security information is to be retrieved  

Returns the security descriptor with the requested information.

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