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
prasad_more1.3158103303596086Eprasad_more1.3158103303596086E 

Is Alias for Users in Salesforce unique?

Is Alias assigned to Users in Salesforce Unique?

Best Answer chosen by Admin (Salesforce Developers) 
IspitaIspita

Hi,

No Alias is not unique, but is a required field when creating user via Salesforce UI.

Additionally its short name to identify user on list pages, reports, and other pages where the entire name does not fit. Up to eight characters are allowed in this field.

 

Hope this helps.

All Answers

IspitaIspita

Hi,

No Alias is not unique, but is a required field when creating user via Salesforce UI.

Additionally its short name to identify user on list pages, reports, and other pages where the entire name does not fit. Up to eight characters are allowed in this field.

 

Hope this helps.

This was selected as the best answer
prasad_more1.3158103303596086Eprasad_more1.3158103303596086E

Thank you very much, Ispita. The information was very useful.

Arvind.bansal1Arvind.bansal1

Can we make Alias unique in existing users data?? If yes!! How can we do that. Please suggest.

Kalpana ReddyKalpana Reddy

you have to create a trigger before insert check the user object for same alias name and throw an error if it already exists.

Arvind.bansal1Arvind.bansal1
Thanks Kalpana for your prompt reply
Arvind.bansal1Arvind.bansal1

I have another thing to ask... could this change be possible into existing user data..where already User's Alias have multiple record.