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
SYED MOOSA NAZIR T NSYED MOOSA NAZIR T N 

Why Role field show as mandatory but its not Mandatory in User Creation

Hi All,
Why Role Field shows as MANDATORY but its not mandatory in User record creation.I do understand the Role Hierarchy and Record level access. My question is only about the MANDATORY line(Red Mark) while creating a USER record.

Thanks
Syed
 

Amit Chaudhary 8Amit Chaudhary 8
Please check below post. I hope that will help you.
http://blog.backupify.com/2012/09/04/how-to-set-up-salesforce-users-the-differences-between-profiles-roles-and-security-sharing/

Field is mark as required because some place it us required for example community user creation. ( Account Owner should have role )
https://help.salesforce.com/HTViewSolution?id=000175522&language=en_US (https://help.salesforce.com/HTViewSolution?id=000175522&language=en_US)
http://blog.jeffdouglas.com/2010/09/02/error-portal-account-owner-must-have-a-role/

Please let us know if this will help you