# TEST: SECURITY-UM-26

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

## Discussion

SanteSuite allows users to register multiple **Address** objects each with State/Province, Country/District, City, Precinct/Borough, Street, and Postal/ZIP fields. Changing the **Address Type** for one of the Address 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/-Me2HaZR0jkkwGdg-Tkk)

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

![](/files/-Me2APtOBQvuT6ntvXN6)

3\. Click the **Address** tab.

![](/files/-Me2KRpRTKi-8yjP2VPr)

4\. By default, the "Home Address" **Address Type** is selected and blank. Enter valid address field values.

![](/files/-Me2LbYYD87JXm-nI9Dl)

5\. Click the **Add** button in the bottom-right corner of the **Profile** to start adding a new Address Registration form group.

![](/files/-Me2MfbID13D_saZYzzF)

6\. Choose a different **Address Type** from the dropdown list (e.g. "Mailing Address").

![](/files/-Me2NWZOdTHOgtoV6NRs)

7\. Enter valid **State/Province**, **Country/District**, **City**, **Precinct/Borough**, **Street**, and/or **Postal/ZIP** fields.

![](/files/-Me2Oh3xhmXFcLlKzcmY)

8\. Click the green checkmark to save the newly registered **Address** objects.

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

## Expected Behaviour

* Notice that **Remove** buttons appear below all but the first form group when there is more than one.
* Notice that **Address Registration** form group headings change according to the selected **Address Type** after selecting from the dropdown in step 6.
* Notice the red circle with exclamation mark next to the **Address** tab in step 6 when a Address Registration form group is blank. Clicking the green checkmark like in step 8 without providing a **Address Type** first like in step 6 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-26.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.
