|
JWSCL Documentation
|
class procedure SetSecurityDescriptorEx(const KeyName: TJwString; const aSecurityInfo: TJwSecurityInformationFlagSet; const aSecurityDescriptor: TJwSecurityDescriptor; bUseWOW64: boolean); virtual;
|
Parameters |
Description |
|
const KeyName: TJwString |
receives the key path which security descriptor is to be set. It can be a UNC path that allows to set a security descriptor of a key on a remote machine. For more information see ParseUNC |
|
const aSecurityInfo: TJwSecurityInformationFlagSet |
defines which security information in the security descriptor is to be changed. |
|
const aSecurityDescriptor: TJwSecurityDescriptor |
defines a security descriptor which is used to set the security information of the key. It must not be nil. |
|
bUseWOW64: boolean |
is only used on the local machine (if KeyName is not a remote UNC path) and defines the constant SE_REGISTRY_WOW64_32KEY that indicates an object for a registry entry under WOW64. Set it to true to use it; otherwise false. |
SetSecurityDescriptorEx tries to set the security descriptor of a local or remote registry key. To connect to a remote registry use a UNC path (\serverrootsubkey) in parameter KeyName.
|
Exceptions |
Description |
|
will be raised if the parameter aSecurityDescriptor is nil | |
|
will be raised if parameter KeyName is invalid. Validity is only checked for a correct root item. | |
|
will be raised if a call to a winapi function failed. To get the name of the function that failed, use the property WinCallName of the exception. It contains the name of the function that 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!
|