Help Center/ Document Database Service/ FAQs/ Database Permissions/ What Permissions Does User root Have?
Updated on 2022-06-02 GMT+08:00

What Permissions Does User root Have?

After an instance is created, DDS creates a user root in the admin database. This user has the built-in root permission of MongoDB. For details about MongoDB built-in roles, see Built-In Roles.

You can log in to the instance and run the following commands to view the permissions of current users:

show users

show roles