function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yash Kumar GuptaYash Kumar Gupta 

Can we check the given username is available to use in all existing salesforce orgs?

Hi all,

Can we check the given username is available to use in all existing salesforce orgs? 

if not possible, can provide me salesforce documentation around this.

thanks in advance !

SubratSubrat (Salesforce Developers) 
Hello Yash ,

Unfortunately, it is not possible to check if a given username is available for use in all existing Salesforce orgs. This is because each Salesforce org is unique and can have different users with different usernames.

Hope it helps !
Thank you.