# TEST: SECURITY-UM-16

## References

* [User Management](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/broken-reference)
* [TEST: SECURITY-UM-01](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01)

## Discussion

New users being created can be assigned multiple primary facilities in the **Primary Facility** textbox.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Navigate to **Administration Panel / Security / Users / Create User** by clicking the **Create** button on the **Administration Panel / Security / Users / Index** page.

## Actions/Steps

1\. Select the **Primary Facility** textbox within the **Demographic Properties** section.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0-LKv9j6erCYVdJBZ%2F-Me06wrlZe4HVRh4xwLD%2Fimage.png?alt=media\&token=5741996b-0e36-4a11-b0c0-646388b89d29)

2\. Select an existing **Primary Facility** listed in the dropdown (e.g. "ELBONIA" is used in this test).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0DNmt2FpoCFq40ouu%2F-Me0sk-BaE0_8Dk1O6CK%2Fimage.png?alt=media\&token=4925778d-1c97-4ebc-b415-cc86cda52b02)

2\. Select another existing **Primary Facility** listed in the dropdown (e.g. "Good Health Hospital" is used in this test).

## Expected Behaviour

* Multiple tags appear, each representing a **Primary Facility** for a new user being created and can be removed from the **Primary Facility** textbox.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0DNmt2FpoCFq40ouu%2F-Me0riwiLYrZSO1iYjEn%2Fimage.png?alt=media\&token=04859028-0eed-45c6-bc88-1c0032e3db35)
