Hosting » Azure » How to view the roles and permissions granted to any database user in Azure SQL server instance?

How to view the roles and permissions granted to any database user in Azure SQL server instance?

Last updated on September 25, 2022 @ 12:39 pm

In Azure SQL Server, a database user has the permissions to access specific tables and views in the database. These permissions are granted when the user is created and can be changed at any time by the database owner or user. To view the roles and permissions granted to a database user, use the following procedure:

Open the Azure SQL Server Management Portal. Navigate to the database that you want to view the permissions for. In the left pane, click Users.

PRO TIP: – Do not use this method to view the roles and permissions granted to any database user in Azure SQL server instance unless you are an administrator with access to the master database.

– Using this method will give you a list of all the roles and permissions that have been granted to the user in question. If you are not an administrator, you will not be able to view all of the information.

– This method should only be used for debugging purposes and not as a way to keep track of what users have access to what resources.

In the right pane, click the database user that you want to view the permissions for. On the Permissions page, find the row that lists the permissions that the database user has.

In the following example, database user emp1 has the permission to access the Employee table and the SalaryView view.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.