# TEST: SECURITY-UM-02

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

Some user properties are specifically required to successfully create a new user. This test verifies required fields have a prompt with a validation message. Required fields are:

* Username
* Role(s)
* New/Confirm Password
* Given Name(s)

## 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\. Click the **Save** button.  &#x20;

![](/files/-MdreAcYJ9NKzx4Rq05A)

## Expected Behaviour

* No user should be created.
* Remain on **Administration Panel / Security / Users / Create User** page.
* Display a prompt below each required property textbox with a validation message as follows:

![](/files/-MdrfO9uHXu60e2dNpat)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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-02.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
