CurrentUserLicense
Qubes 10.0 Returns the license of the current user.
Syntax
CurrentUserLicense
Remarks
Returns a string with the license of the current user:
- ShopFloor
- Enterprise
- Service
When no user is connected, the function returns Service.
This function is evaluated when the screen is compiled, and so is not dynamically updated when it executes, in the event of the user logging off or logging back in.
Example
This enables A1 when the current user has a 'ShopFloor' license
A1.Enabled =(CurrentUserLicense = 'ShopFloor')