|
JWSCL Documentation
|
class procedure SetSecurityInfo(const aHandle: THandle; const aObjectType: TSeObjectType; aSecurityInfo: TJwSecurityInformationFlagSet; const anOwner: TJwSecurityId; const anGroup: TJwSecurityId; const aDACL: TJwDAccessControlList; const aSACL: TJwSAccessControlList); override; overload;
|
Parameters |
Description |
|
const aObjectType: TSeObjectType |
defines the named object type |
|
aSecurityInfo: TJwSecurityInformationFlagSet |
defines which security information is retrieved from the SD and used in the named object |
|
const anOwner: TJwSecurityId |
if aSecurityInfo contains the flag siOwnerSecurityInformation, this parameter will receive the OwnerSID to be changed in the destination. If this parameter is not nil, the flag is automatically added and the parameter is used. |
|
const anGroup: TJwSecurityId |
if aSecurityInfo contains the flag siGroupSecurityInformation, this parameter will receive the GroupSID to be changed in the destination. If this parameter is not nil, the flag is automatically added and the parameter is used. |
|
const aDACL: TJwDAccessControlList |
if aSecurityInfo contains the flag siDaclSecurityInformation, this parameter will receive the DACL to be changed in the destination. If this parameter is not nil, the flag is automatically added and the parameter is used. |
|
const aSACL: TJwSAccessControlList |
if aSecurityInfo contains the flag siSaclSecurityInformation, this parameter will receive the DACL to be changed in the destination. If this parameter is not nil, the flag is automatically added and the parameter is used. |
|
anObjectName |
defines the name of a named object which security information is to be changed |
SetSecurityInfo sets security information of a named object SetSecurityInfo cannot change inheritance protection flow. Instead use SetSecurityInfo using TJwSecurityDescriptor.
|
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!
|