R33153 User - Notify Admins On Community User Creation
Code | R33153 |
Entity | Systems.Security.Users Entity |
Name | NotifyAdminsOnCommunityUserCreation |
Attribute | - |
Layer | Back-End |
Events | Commit |
Record State | Inserted |
Priority | Normal |
Modify | NO |
Action | If new record (UserType == External(community) && Person == null)
, then create a new record in Notifications as follows:
- Notification.User = all admins - Users(where IsAdmin == True && Active == True) - Notification.CreationTimeUtc = NOW - Notification.DataObject = User.GetOrCreateExtensibleDataObject() - Notification.NotificationClass = NT_NEW_COMMUNITY_USER - Notification.Subject = New external (community) user '{Login}' is created. |
Description | When a new record for an external (community) user is created (i.e. via the login form
of a trusted app), the account is not yet configured completely and needs to be set up
by the admin user(s).
So, the rule creates a notification to the admin user(s). This notification will then be sent to them by the Notifications system. |
Message | - 2022 |
Version | Introduced: |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.