AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
To delete a user account, your current user must have the following privilege action enabled: We won't be covering role management in this guide, so the grantRole and revokeRole privilege actions are not be required. changeCustomData privilege action to change other users' custom data.changePassword privilege action to change other users' passwords.changeOwnCustomData privilege action to change your own account's custom data. changeOwnPassword privilege action to change your own account password.To change a user's password or account details, you might need the following privileges: To create new users, your current user must have the following privilege actions enabled: To get info about other users, your current user must have the following privilege action enabled: The specific privileges you require depend on the commands you need to use. To execute the commands above, you need to login to MongoDB with an account with a number of different privilege actions. db.runCommand('usersInfo'): show information about one or more MongoDB user accounts.db.dropUser: delete a MongoDB user accountĪdditionally, the following database command is useful for finding information about users on the system:.db.changeUserPassword: change the password used by a user account.db.updateUser: update the details of a user account.db.createUser: create a new MongoDB user account.To create, modify, and delete users within MongoDB and configure authentication, the core methods you need are: To follow along with this guide, you'll need an account on a MongoDB server with the appropriate privileges. Prisma is an open-source database toolkit for Typescript and Node.js that aims to make app developers more productive and confident when working with databases. The United States' most popular databases by state going into 2022.Traditional databases vs serverless databases.Introduction to common serverless challenges.Top 13 serverless computing and database providers.Introduction to database backup considerations.How microservices and monoliths impact the database.Syncing development databases between team members.
0 Comments
Read More
Leave a Reply. |