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
Sudha Krishna SunkavalliSudha Krishna Sunkavalli 

Why is user role displayed as mandatory filed?

Hi,
Why is the user role displayed as a required field on the user detail page even though the validation  is not enforced on the same?
 
Deepak Kumar ShyoranDeepak Kumar Shyoran
Because this is something which is related to salesforce standard functionality and they use this to manage user Licence, so that one can't try to create multiple licence by cloning profile instead of purchasing licence for new user.
Jason Curtis NBSFDGJason Curtis NBSFDG
User Role has to do with data sharing and access (vs. object/field security with is controlled via profiles and permission sets). Since this is a critical component of Salesforce it is a mandatory field even if user roles aren't setup (and the field will say <None Specified>.

See some additional info here: http://blog.backupify.com/2012/09/04/how-to-set-up-salesforce-users-the-differences-between-profiles-roles-and-security-sharing/

And here: https://help.salesforce.com/HTViewHelpDoc?id=admin_roles.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=admin_roles.htm&language=en_US)