Create users
Create a new user type with a custom property that controls if a clock label is shown or hidden in the UI.
- Create a user:
- In theProject viewpane, expand theSecurityfolder.
- Right-click theUsersfolder and select .
- Hover-over the user, select, and enterUserPersistentSettings.
- In thePropertiespane, at the top, selectand selectVariable.
- Hover-over the variable, select, and enterShowClock.
- Next to the variable, selectInt32and selectBoolean
- Create a user type:
- In theType viewpane, double-clickSecurityand then double-clickUsers.
- From theProject viewpane, dragUserPersistentSettingsinto theType viewpane.
- Create a folder for the new user type:
- Right-click theUsersfolder and select .
- Hover-over the folder, select, and enterUsersPersistentSettings.
- Add users with persistent settings:
- In theProject viewpane, hover-overUserPersistentSettings, select, and enterBob.
- DragBobinto theUsersPersistentSettingsfolder.
- In thePropertiespane, set thePasswordvalue totest.
- Right-click theUsersPersistentSettingsfolder and select .
- In thePropertiespane, set thePasswordvalue totest.
- Hover-over the user, select, and enterJane.
Fornire un feedback