Can a customer portal user have a same username as CRM username? Can anyone explain me reason behind this?

2 Answers 2


Yes, a customer portal user can have the same username as a regular CRM user. Portal usernames have to be unique within your organisation, across all of your portals. Thus once a customer portal user has taken the username '[email protected]', no other portal user within your org, on any portal, can use the same name. However, that username can be used for a portal user on another organisation.

As to the reason, I haven't seen anything documented about this. My view is that as a user could potentially be a customer of a number of companies, it follows that they could have customer portal logins across a number of Salesforce organizations, and it makes sense that they can retain the same username across all of these organizations.

  • 3
    Also note that every interaction with a customer portal/partner portal tends to carry a portal ID (the URLs, SAML assertions, Site logins). This allows SF to scope the User ID to the portal. Unlike 'normal' CRM users who have no such scope reducing identifier. Commented Oct 26, 2012 at 12:37

You cannot duplicate usernames for instances hosted on production pods, like communities. The username namespace for production & sandbox are different, so you could have the same username on NA1 and CS1, but you can't have the same username on NA1, NA2, etc.

So this means you cannot duplicate usernames across communities.

  • This is a change from the older Portal products right? Because in Portal's you can, but in Communities it seems you can't? Commented Feb 7, 2014 at 22:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .