This article is about managing user accounts in Posit Connect using the usermanager
utility.
Connect includes a usermanager
tool that can be utilized to manage users on the command line interface (CLI). Options that can be utilized with this tool include listing users, transferring users' content, altering/promoting user roles, and deleting user accounts.
The usermanager
utility can only be run when Connect is stopped if you use the SQLite database provider. See Section 5.1.1 for information on stopping and restarting Connect. See Section 9.1 for information on database providers.
The usermanager
utility supports the following commands:
1. List users.sudo /opt/rstudio-connect/bin/usermanager list
2. Transfer user's content.sudo /opt/rstudio-connect/bin/usermanager transfer --source-username <user> --target-username <user>
3. Alter/ Promote user.sudo /opt/rstudio-connect/bin/usermanager alter --username <user> --new-role administrator
4. Delete user accountsudo /opt/rstudio-connect/bin/usermanager delete --username <user>
5. Display help (Summarizes all the utilities above).sudo /opt/rstudio-connect/bin/usermanager help
For more information, see our admin guide here.
Comments