# TEST: SECURITY-UM-25

## 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)
* [TEST: SECURITY-UM-21](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-21.md)
* [TEST: SECURITY-UM-13](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-13.md)
* [TEST: SECURITY-UM-14](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-14.md)

## Discussion

SanteSuite allows users to register multiple **Name** objects each with Prefix, Given, Family, and Suffix fields. Changing the **Name Type** for one of the Name Registration object form groups affects each form group heading.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Follow the instructions from [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) to create a new user -- applying any valid values for required fields.
3. Follow the instructions from [TEST: SECURITY-UM-21](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-21.md) to navigate to **Administration Panel / Security / Users / Edit User** for the newly created user.

## Actions/Steps

1\. Click the **User Profile** tab.

![](/files/-Me2ABcV2D56lhs33nD_)

2\. Click the pencil in the top right-hand corner of the **Profile** to edit the properties.&#x20;

![](/files/-Me2APtOBQvuT6ntvXN6)

3\. Click the **Add** button to start adding a new Name Registration form group.

![](/files/-Me2B9Bc9ceFn6krE1rR)

4\. Choose a different **Name Type** from the dropdown list (e.g. "Religious")

![](/files/-Me2BlKK6gVTlx5nCLSC)

5\. Select a **Suffix** and **Prefix** from the corresponding dropdown lists and enter any **Given** or **Family** name(s) similar to how it is done in [TEST: SECURITY-UM-13](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-13.md) and [TEST: SECURITY-UM-14](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-14.md).

![](/files/-Me2DWNRPaSEmqj-OusL)

6\. Click the green checkmark to save the newly registered **Name** object.

![](/files/-Me1WhhOu0AA-hqKmeMs)

## Expected Behaviour

* Notice that **Remove** buttons appear below each form group when there is more than one.
* Notice that **Name Registration** form group headings change according to the selected **Name Type** after selecting from the dropdown in step 4.
* Notice the red circle with exclamation mark next to the **Name** tab in step 4 when a Name Registration form group is blank. Clicking the green checkmark like in step 6 without providing a **Name Type** first like in step 5 has a result of nothing occurring.
* A toast message appears in the top-right corner of the window stating "User updated successfully" when the steps above are followed correctly.

![](/files/-Me2FS-qYtLiDzU54RpY)


---

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