Contact trigger handler/TDTM
|REDU - Admin, REDU - Faculty, REDU - Student, Guest
|Related RIO Education Settings
|Community Username Suffix
This class allows students to define a username prefix.
Whenever a new Contact is inserted with the Community Username (Prefix) field set, or if an existing Contact's Community Username (Prefix) field is updated, it creates the student's username by taking the specified prefix and concatenating the default Community Username Suffix.
It then sets the Contact's Community Username field to this value. If the new username is already taken by an existing user, this class will fail with an error "The username is taken. Try another".
Helps standardized community username and prevents duplicates.