Create users
Create a user type with a custom property that controls if a clock label is shown or hidden in the UI.
-
Create a user:
- In Project view, expand Security.
- Right-click Users and select .
-
Hover-over the user, select
, and enter UserPersistentSettings.
-
In Properties, at the top, select
and select Variable.
-
Hover-over the variable, select
, and enter ShowClock.
- Next to the variable, select Int32 and select Boolean.
-
Create a user type:
- In Type view, double-click Security and then double-click Users.
- From Project view pane, drag UserPersistentSettings into Type view.
-
Create a folder for the new user type:
- Right-click Users and select .
-
Hover-over the folder, select
, and enter UsersPersistentSettings.
-
Add users with persistent settings:
-
In Project view, hover-over UserPersistentSettings, select
, and enter Bob.
- Drag Bob into UsersPersistentSettings.
- In Properties, set Password to test.
- Right-click the UsersPersistentSettings folder and select .
- In Properties pane, set Password to test.
-
Hover-over the user, select
, and enter Jane.
-
In Project view, hover-over UserPersistentSettings, select