Contact: You are not allowed to edit the value.
Table of Contents
Details
| Rule Names | Prevent_Username_Change and Prevent_Username_Prefix_Change |
| Object | Contact |
| Error Message | You are not allowed to edit the value. |
| Error Location | Community Username and Community Username (Prefix) |
Description
There are two validation rules on the Contact to prevent an unauthorised user from editing the Community Username or Community Username (Prefix).
When a Contact is created or updated, a validation rule will block the save if all of these conditions are true:
- The Auto Student Community Registration option in RIO Education Settings is enabled
- The running user's profile does not have the Manage Users permission
- The record is being updated (not created)
- Community Username is being changed
- The previous value of Community Username (Prefix) is populated
Another nearly identical validation rule will block the save if all of these conditions are true:
- The Auto Student Community Registration option in RIO Education Settings is enabled
- The running user's profile does not have the Manage Users permission
- The record is being updated (not created)
- Community Username (Prefix) is being changed
- The previous value of Community Username (Prefix) is populated