Create a SQL API User Application Control
This activity describes how to create a user, map it to a database, and assign the db_owner role in SQL Server using SQL Server Management Studio (SSMS).
Activity Steps
- Open Server Management Studio (SSMS).
The Connect to Server window displays.
- Enter the following Server details:
- Server type
- Server name
- Select the Authentication method. If required, enter your login credentials.
- Enter the following Connection Security details:
- Select the Encryption type.
- Select whether to Trust server certificate.
- If Strict is selected as the Encryption type, enter the Host name in certificate.
- Click Connect.
The database nodes display in the Object Explorer window.
- Expand the Security folder.
- Right-click the Logins folder and select New Login... from the context menu.
The Login - New window displays.
- Select the General page.
- Enter the Login name.
Note: The user does not need to exist in the Fusion database.
- Select from either SQL Server authentication or Windows authentication.
- If SQL Server authentication is selected, enter a Password and Confirm password.
- Select whether to Enforce password policy.
- Enter the Login name.
- Select the Server Roles page.
- Select the relevant Server roles for the user.
- Select the User Mapping page.
- In the Users mapped to this login section, check the Database the user should have access to.
- In the Database role membership for the database, check db_owner and any other relevant roles for the user.
- Click OK.
- To verify that the user was created:
- In the Object Explorer, expand the Databases.
- Expand the node of your database.
- Expand Security.
- Expand Users.
The new user displays.
