> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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-15.md).

# TEST: SECURITY-UM-15

Testing the Primary Facility textbox from Demographic Properties with an invalid value.

## References

* [User Management](broken://pages/-LyJM_KRwADCTfXEdvxM)
* [TEST: SECURITY-UM-01](/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.md)

## 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-Me06wQhQNIux2oOwUZ5%2Fimage.png?alt=media\&token=6a6e2ee0-a5b2-4941-b0c9-485b659a49a7)

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)
