Display an object to a user group
Make a graphical object accessible only for specific users.
Prerequisites
Add a graphical object that you would like to show only to a specific group of users. See Create a graphic object from a type.
For example, create an
AdminPane
object that is only visible to the Admin group members.- To display an object to a user group
- In theProject viewpane, select the graphical object.For example, selectAdminPane.
- In thePropertiespane, create a dynamic link between theVisibleproperty and .
- TargetGroup
- The group of users that you want to make the graphical element visible for. For example,Admins.
For more information about dynamic links, see Create dynamic links.
The
Visibility
property of a graphical object has a Boolean value. If the current user at runtime is a part of the selected group, the value of the property at runtime is set to True
and the object is visible in the UI.Provide Feedback