# Managing User Accounts

This section provides steps to create new user accounts, reset passwords and add/remove roles from the user

## Create a new user account

1. Login as a user with administrator privileges

   ![Login](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-d547090ef7eac7dd5fcde9e57141c5fc2232865d%2Flog_in_as_admin_link.png?alt=media)
2. Click legacy administration link as circled in the image below

   ![Legacy System Administration Link](https://github.com/METS-Programme/ugandaemr-usermanual/blob/master/images/legacy_system%20administration_link.png)
3. Click on manage users link as shown below

   ![Manage Users Link](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-54219c49502f02829a2971194157318a2703176d%2Fmanage_user_accounts_link.png?alt=media)
4. Click on the Add User link as shown below

   ![Add User Link](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-bc6c35ef3632cc5a6ddd30c8f105cee25d6e848c%2Fadd_user_account_link.png?alt=media)
5. Click the button under the Create new person text

   ![Create new person](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-41c3409c7192a9958b2ef301afe43c54c692484f%2Fcreate_new_person_link.png?alt=media)
6. Enter the details for the user account, making sure to select the following:
   * The create provider account must option
   * Select the System Developer and Provider roles

![User account information](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-af3f3b96fea65153da6ed174e803a3d9a94a5b07%2Fcreate_user_account_required_fields.png?alt=media)

## Reset user account password

1. Click legacy administration link as circled in the image below

   ![Legacy System Adminstration Link](https://github.com/METS-Programme/ugandaemr-usermanual/blob/master/images/legacy_system%20administration_link.png)
2. Click on manage users link as shown below

   ![Manage Users Link](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-54219c49502f02829a2971194157318a2703176d%2Fmanage_user_accounts_link.png?alt=media)
3. Search for the user account to be updated then click the System Id of the user to edit

   ![Search for user account](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-54219c49502f02829a2971194157318a2703176d%2Fmanage_user_accounts_link.png?alt=media)
4. Enter the new password twice, and select the Force Password Change to ensure that the user changes their password at the next login

   ![Reset user password](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-09d0a6e8c7e362350c8680d26c5710b664f98578%2Freset_user_account.png?alt=media)

## Add a new role to a user account

1. Click legacy administration link as circled in the image below

   ![Legacy System Administration Link](https://github.com/METS-Programme/ugandaemr-usermanual/blob/master/images/legacy_system%20administration_link.png)
2. Click on manage users link as shown below

   ![Manage Users Link](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-54219c49502f02829a2971194157318a2703176d%2Fmanage_user_accounts_link.png?alt=media)
3. Search for the user account to be updated then click the System Id of the user to edit

   ![Search for user account](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-54219c49502f02829a2971194157318a2703176d%2Fmanage_user_accounts_link.png?alt=media)
4. Select the roles for the new user account, current roles required are System Developer and Provider

   ![Select user roles](https://2263683135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4YKhNOQtSxoP0vCjuG%2Fuploads%2Fgit-blob-d295682f6291ed8104e97f6b5c9305889dbfcebb%2Fupdate_user_roles.png?alt=media)
