Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Use email address as username

Describes the process for allowing email addresses as usernames.

📘

Note

Currently this is an option only in the Cloud environment.

To improve and simplify the user experience, the option to use the user's email address as the username can be enabled. This is a globally setting and is set to OFF by default. When the setting is enabled, the Username field is hidden and is replaced with the Email Address field. In most scenarios, this option is enable and setup during implementation; however, there are safeguards in place if enabled on an already existing environment.

  1. Go to the Admin Console > Administration > System > Settings.

  2. Search for "Use Email As User Name".

  3. Change the toggle to show YES.

    🚧

    Important

    Enabling this option will effect all existing users on all websites. Upon selecting Save a warning message is provided to emphasize the ramifications of changing the setting and provides an option to cancel the change. Once the save is confirmed, the changes are immediate and cannot be undone.

  4. Click Save.

  5. Upon saving, an automated email is sent to all users stating their username has been changed. This email is only sent to existing users and not to new records.

📘

Notes

  • As with all setting changes, an Audit Log entry is made to show who made the change and when.
  • The UserProfile table will save off the current username into the "modified by" and replace it with the email address.
  • The AspNetUsers table is also updated.
  • If a duplicate email address is already in the system, the user is deactivated and a log entry is made in the Application Log stating the change was not made.
  • A new email template is also available: Website_UserNameChanged.
  • When applicable, the notification email is sent to both the old and new email addresses.