RegistryPermission – PB Docs 150


RegistryPermission

RegistryPermission settings are required for system registry functions and MLSync object functions in .NET targets.

Required RegistryPermission settings for system functions
System function Permission required
RegistryGet, RegistryKeys, RegistryValues Read

RegistrySet Write; if registry key does not exist, requires Create
RegistryDelete Read and Write
This table shows the required RegistryPermission settings for MLSync object functions in .NET targets:

Required RegistryPermission settings for MLSync functions
MLSync function Permission required
GetObjectRevisionFromRegistry, GetsSyncRegistryProperties Read on HKEY_CURRENT_USER registry key
GetDBMLSyncPath Read on the SoftwareSybaseSQL Anywhere registry keys under HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE
SetsSyncRegistryProperties Unrestricted on HKEY_CURRENT_USER registry key

Example 1

This example for a Windows Forms application grants read permission for the HKEY_CURRENT_USER registry key, which extends to its subkeys:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x