For tailoring purposes, capability words can be implemented to allow users to perform actions.
Global variable $lo.ucapex contents the current capability word associated to the current logged user however if tailoring a system it's required to check capability words for certain operators it's possible to use function checkPermission( capabilityWord, operatorName )
This function is available from any place inside ScriptLibrary records. Also can be use outside ScriptLibrary referencing record > capability from ScriptLibrary table like lib.capability.checkPermission()
Current function reduces the need to create custom code to check for capability words.
Thank you for using the Micro Focus Community. If you find that this or any post resolves your issue, please be sure to mark it as an "accept as solution".