Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > SetSecurityInfo Method > TJwSecureGeneralObject.SetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityDescriptor)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.SetSecurityInfo Method (THandle, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityDescriptor)
Pascal
class procedure SetSecurityInfo(const aHandle: THandle; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet; const aSecurityDescriptor: TJwSecurityDescriptor); override; overload;
Parameters 
Description 
const aHandle: THandle 
defines the handle which security information is to be changed  
const aObjectType: TSeObjectType 
defines the handle type  
aSecurityInfo: TJwSecurityInformationFlagSet 
defines which security information is retrieved from the SD and used in the handle  
const aSecurityDescriptor: TJwSecurityDescriptor 
defines the security descriptor to be used 

SetSecurityInfo sets the security information of a handle using a security descriptor. Only the parts of the SD defined in aSecurityInfo are used. SetSecurityInfo cannot change inheritance protection flow. Instead use SetSecurityInfo using TJwSecurityDescriptor

 

Exceptions 
Description 
is raised if parameter aSecurityDescriptor is nil. 
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!