Email as the User ID

PLakin1
Tera Guru

Are there any downsides to using the email address of a user as their user ID? Especially if you have a third party identity provider for handling logins?

 

I couldn't think of a caveat, but figured I'd check with you fine people.

 

Edit: Oh, and I don't see this affecting our service accounts, but I've considered this.

 

Thank you!

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @PLakin1 

Using email address as user ID is fine, and if you are using SSO from third party like Azure you can choose the field based on which the user should be identified.

 

Some times people use email ID and some use UPN for processing third party logins.

 

I have implemented this on couple of projects where user id is email ID.

 

But keep a note that OOTB the field length of user ID is 40 characters. If your email length exceeds this make the adjustments to the field length.

 

Please mark my answer helpful and accept as solution if it helped you 👍

Thanks,
Anvesh

View solution in original post

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @PLakin1 

Using email address as user ID is fine, and if you are using SSO from third party like Azure you can choose the field based on which the user should be identified.

 

Some times people use email ID and some use UPN for processing third party logins.

 

I have implemented this on couple of projects where user id is email ID.

 

But keep a note that OOTB the field length of user ID is 40 characters. If your email length exceeds this make the adjustments to the field length.

 

Please mark my answer helpful and accept as solution if it helped you 👍

Thanks,
Anvesh

Thanks for the detailed reply and friendly warning!