Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > SetNamedSecurityInfo Method > TJwSecureGeneralObject.SetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityDescriptor)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.SetNamedSecurityInfo Method (TJwString, TSeObjectType, TJwSecurityInformationFlagSet, TJwSecurityDescriptor)
Pascal
class procedure SetNamedSecurityInfo(const anObjectName: TJwString; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet; const aSecurityDescriptor: TJwSecurityDescriptor); override; overload;
Parameters 
Description 
const anObjectName: TJwString 
defines the name of an object 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 

SetNamedSecurityInfo sets the security information of a named object using a security descriptor. Only the parts of the SD defined in aSecurityInfo are used.

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!