Visibility based on UserGroup

Updated 1 min read

To show or hide an object based on the UserGroup of the user that is logged into the system, you can use the SYSTEM.UserGroups system variable like this:

And fill in the expression like this, only showing the object when the user is part of the Administrators or Maintenance group:

Example
SYSTEM.UserGroups.includes('Administrators') || SYSTEM.UserGroups.includes('Maintenance')

The same expression can be used on other properties like Access Control, Blink, etc...

Something missing or wrong in this article? Contact us