Normally, it is impossible to re-create a MAS user within the UI after they are deleted. This error is reported when the user is re-created:
Steps
Once a mongo shell has been opened for your MAS mongo database, you have two options to re-create the user. You can either undelete the specific user to restore the old user, or delete the data record completely allowing you to re-create the user manually.
This first command restores the old user (in this case, user1), making them once again visible within the MAS User Administration UI.
db.User.update({username: "user1"},{$unset: {deleted:""}})
Alternatively, you can run this second command to delete the user from your database. This allows you to re-create the user manually within the UI.
Note this command deletes the old user completely, causing their user data to be lost forever.
db.User.deleteMany({username: "user1"})
Reference Link : https://www.ibm.com/support/pages/node/7087805
No comments:
Post a Comment