Add users to the roles
- Last UpdatedFeb 18, 2025
- 2 minute read
When you run the Database script after the upgrading or installing the application, two roles are generated by default, MorServerRole and IntelaTracRole. You need to now create two users and assign one user to each role. The user assigned to MORServerRole should only be used in Username field of the DataServer and Identity Provider in the Configurator for database configuration. The user assigned to IntelaTracServerRole should only be used in Username field of the Client and Server installation.
Steps:
-
Connect to the database in SQL Server Management Studio.
-
Add a user to MORServerRole by doing the following steps:
-
In the Object Explorer pane, expand the Security folder, and select Logins.
-
Right-click and select New Login.
The Login-New window appears. In the Select a page section, General is selected and the fields appear in the right side of the pane
-
In the Login name field, enter the name of a SQL Server user (for example: IntelaTracMORUser).
-
Select SQL Server Authentication radio button and set a password.
-
Clear the check box Enforce password policy.
-
In the Default database field, select the default database (for example: IntelaTrac).
-
From the Select a page section, select Server Roles,and then select the public check box.
-
From the Select a page section, select User Mapping, and select the database from the Users mapped to this login section.
-
Select the following roles from the Database role membership for and then select OK.
-
db_datawriter
-
db_datareader
-
MORServerRole
-
-
-
Repeat the steps provided in Step 2 to add a user to 'IntelaTracRole'.
In sub-step (i), you have to select the following roles:
-
db_datawriter
-
db_datareader
-
IntelaTracRole
-
-
In the Object Explorer pane, expand the Databases folder and select the database.
-
In the database folder, select Security, and then select Users.
-
Right-click and select New User.
The Database User window appears.
-
Enter the User name, and in the Login name, browse and select the role that you want to assign to the user.
-
Select OK.
What's Next?
-
See the topic WorkFlow to install or upgrade to AVEVA Mobile Operator for the next steps.