> 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-22.md).

# TEST: SECURITY-UM-22

## 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-06](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-06.md)

## Discussion

When a user's properties are edited, the user's corresponding **Updated By** core property is updated to the datetime edits are saved at.

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

## Actions/Steps

1\. Click the pencil in the top right-hand corner of **Security Properties** to edit them.&#x20;

![](/files/-Me1U70iearojgdN-m17)

2\. Follow similar actions/steps from [TEST: SECURITY-UM-06](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-06.md) to add an additional role.

![](/files/-Me1W9vprmr5AAwxpZ5-)

3\.  Click the green checkmark to save the edited roles.

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

4\. Refresh the page.

{% hint style="warning" %}
It is recommended to empty the cache and perform a hard reload in step 4.
{% endhint %}

## Expected Behaviour

* Notice that the users **Updated By** field in the **Core Properties** has changed to the datetime when roles were edited.

![Before editing.](/files/-Me1XQmqqGL1KhOdgGXG)

![After editing.](/files/-Me1Xf7-rKLCvtGqKDdW)
