This function does as its name implies: gets a value from the Windows registry.
For example:
«SetV('UserPrivileges',GetRegistryValue('HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Accounting\Options\UserPrivileges')»
This will get the registry value HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Accounting\Options\UserPrivileges and put it into the XpressDox variable called ‘UserPrivileges’. After that the variable can be inspected and assembly of the document continue dependent on that registry value.