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
admin sureshadmin suresh 

What is the security level of a user if a user have not assigned any Role?

PratikPratik (Salesforce Developers) 
Hi Suresh,

Role is not mandatory for a user record.
Role control the Record level access. (OWD has check box "Grant Access Using Hierarchies" )

I am not sure what are you feffering to Security level here, please elaborate so we can answer it.

Thanks,
Pratik
admin sureshadmin suresh
Hi Pratik,

Suppose if i create a new user . while creating new user role is not mandatory.. then what is the access level he has? what are all records he can access? And if OWD setting Grant Access Using Hierarchies is unchecked then what is the access?
PratikPratik (Salesforce Developers) 
Hi Suresh,

Thanks for detailed question.

In this scenario, the user will get access through
1.object's OWD specified( private, read only etc..).

2.Sharing Rules:  Remember you can share the records with Public groups; and you add users in Public groups. (setup->manage user->public group)

3. Manual sharing on the records.

Thanks,
Pratik

P.S. If this answers you question, please mark it as "Best Answer" so it will help other community members too.
sfdc550sfdc550
While creating a user we can create without roles, but actual functionality was explained below:

Roles (configured under Admin Setup->Manage Users->Roles) are used to control which Salesforce records are available to Users assigned to the Role. Unlike Profiles, there is no configuration in a Role.  Instead, Roles are arranged in a hierarchy.  Top level Roles can contain lower level Roles.  Record access is determined by the Role of the Record Owner.  Any member of the Role hierarchy above the Record Owner’s Role will have access to the record. Users in the same Role as the Record Owner, and Users in Roles outside of that hierarchy, may or may not have access.  By default, all Users have Read-Write access to all records in Salesforce.  However, this is controlled by Organization Wide Sharing — a topic for another time.