# TEST: SECURITY-UM-15

## 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

While creating new users, any **Primary Facility** being added to a new user's profile must be one that exists as an option from the static list of all primary facilities.

## 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\. Enter a string value that does not match any existing **Primary Facility** from the dropdown.

## Expected Behaviour

* The dropdown of possible existing primary facilities should only have a single disabled option that simply prompts users: "No results found".

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0-LKv9j6erCYVdJBZ%2F-Me07worCHCLe0-tHi5k%2Fimage.png?alt=media\&token=7553695e-f494-44bf-9c9d-cd7296b56f3e)
