• #25037
    Salesforce | Uday Uday #51
    Forcetalks

    How many permission sets we can assign to one user in Salesforce?

    How many permission sets we can assign to one user?

    Tagged: , , , ,

    #25149
    Salesforce | Subodh Subodh #53
    Forcetalks

    Hello Uday,

    One org can hold max of 1000 permission set(1500 including Managed packages) and if we want, we can assign all permission sets to a single User.

    You can run the following code snippet in developer Console to check by yourself:

    integer count =1;
    for(integer i = 1; i<=75;i++){
    PermissionSet pr = new PermissionSet(Label=’Case Permisson Set’+count,Name=’Case_Permisson_Set’+count);
    insert pr;
    PermissionSetAssignment pm = new PermissionSetAssignment(AssigneeId='<User Id>’,PermissionSetId=pr.id);
    insert pm;
    count++;
    }

    Hope this helps.!

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?