Info |
---|
For SmartServer 4.2, see 1 (Beta), see Defining Users (Release 4.1). For SmartServer 4.0 and prior, see Defining Users (Release 4.0 and Prior). |
...
- Open the CMS Users widget. Click the Expand button ( ).
Click the Action button () and select the Create User action.
The Create User view → General tab appears.- Enter the following information for the new user:
- Username
- First Name
- Last Name
Select the User Type as follows:
- User – is assigned by the system administrator, owner, or supervisor, and has access to widgets as specified on the Access tab and will be limited to the contexts specified on the Contexts tab. See the following section, Setting User Access and Context Permissions, for more information regarding how to set these permissions.
If you select User, then a User Role field and a Save As button appear.
The User Role field has the following default user roles:- Field Technician – initial setting is read/write access for Device Types, Devices, Datapoint Properties, and Datapoints widgets, and read-only access for all other widgets.
- Scheduler – initial setting is full access for the Calendar widget and read-only access for all other widgets.
- System Integrator – initial setting is full access for all widgets.
If you select a user role and modify any of the widget access settings, then the settings associated with a user role will be changed. - You can can create a new user role by clicking the Save As button. A dialog box appears (shown below) prompting you to enter a name for the new user role. Enter a name for the new user role and click Save to copy the current widget access settings to the new user role and to save the new user role.
- Owner – has access to all tasks in all contexts.
- Supervisor – has access to all tasks in specified contexts, except for changing the licensing customer ID, returning license keys, and adding license keys.
- Admin – has access to all tasks in all contexts; can only be created by an Admin user type.
- User – is assigned by the system administrator, owner, or supervisor, and has access to widgets as specified on the Access tab and will be limited to the contexts specified on the Contexts tab. See the following section, Setting User Access and Context Permissions, for more information regarding how to set these permissions.
- Set the user password in Password field. The Confirm Password field appears requiring you to match the password.
Instead of manually setting the password, you can click the Generate Password button for a password to be automatically created by the system. You can enable the Send Password on Save option to send the current password to the email address that is provided. This option may be useful when an Admin or Owner creates a new user or when the password is created using the Generate Password button. The Send Password on Save option is disabled if a new password has not been entered or generated, an SMTP server is not defined, or an email address is not specified. If this option is enabled, then the CMS will send the new password to the user using the configured SMTP server.
To display the disguised password characters, click the Show Password button (). See Managing SmartServer IoT Passwords for more information. - Optionally, set the Session Timeout (minutes) field with the number of minutes after which a user session will be closed, requiring the user to login again if they still need access. Users will be able to view their timeout, but only an admin, owner, or supervisor can change them. Valid values are None (blank) or an integer value from 1 to 10080 minutes. None means that there is no user session timeout. The default is 90 minutes.
- Optionally, set the Password Expiration (days) field with the number of days when the password for the user will expire after either setting the expiration option, or changing the password after the expiration option was set. Valid values are None (blank) or an integer value from 1 to 36500 days. The default is None for no password expiration. This field may only be modified by Admin, Owner, and Supervisor user types, and is disabled for admin user types. This field is only applicable when the Authentication Method is set to Basic.
Optionally, set the User Account Deactivation (days) field with the number of days when the user account will be deactivated after either setting the deactivation option, or the last user login after the deactivation option was set. Valid values are None (blank) or an integer value from 0 to 36500 days. The default is None for no user account deactivation. This field may only be modified by Admin, Owner, and Supervisor user types, and is disabled for admin and owner user types.
Optionally, set the Homepage field as follows (only Admin, Owner, and Supervisor users can modify the Homepage field):
- CMS Dashboard – selects one of the currently-defined CMS dashboards. The first dashboard listed will be the Default dashboard.
- Custom Web Page – opens the Custom Web Page field where you can select from the custom web pages that are defined on the CMS host (Local CMS or Remote CMS).
For Local CMS, any .html file that is stored in the /var/apollo/www/user/custom directory can be selected as a custom web page.
For Remote CMS, any .html file that is stored in a specified directory on the host system can be selected as a custom web page. To link the directory inside the container with a directory on host system, add the following
-v
parameter to the command that is used to start Remote CMS:Code Block -v <host full path of the directory containing custom web pages>:/usr/lib/apollo/www/user/custom
See Creating Custom Web Pages for more information.
- CMS Dashboard – selects one of the currently-defined CMS dashboards. The first dashboard listed will be the Default dashboard.
Optionally, set the Tags field with an optional comma-separated list of tags for the user. Each tag may be a key, or a key=value pair, where a key is a string of up to 100 characters, and the optional value is a string of up to 64K characters. This field may only be modified by Admin, Owner, and Supervisor user type.
For Admin user:
- Optionally, set a Google API Key for maps display. The Google API Key is used for access to Google Maps for maps display in the Locations widget (prior to SmartServer 3.4, the Locations widget was called the Map widget). The default admin user will have an embedded key. New admin users should be supplied with a key in order to view maps. The same key that is used for the default admin user can also be used for new admin users.
- Optionally, set an External Login. This login is used to associate a user with an external account. It is needed to link the CMS user accounts with SAML provider accounts (i.e., the email address) or when OAuth authentication is enabled.
- Optionally, set a Google API Key for maps display. The Google API Key is used for access to Google Maps for maps display in the Locations widget (prior to SmartServer 3.4, the Locations widget was called the Map widget). The default admin user will have an embedded key. New admin users should be supplied with a key in order to view maps. The same key that is used for the default admin user can also be used for new admin users.
- Click Save to create the new user.
...
For information regarding resetting user passwords, see Resetting User Passwords in the Managing SmartServer IoT Passwords section.
Removing a User
You can remove a user account to disable access to a SmartServer for a user. To remove a user account, follow these steps:
...