Activity Forums Salesforce® Discussions How can we create a group of standard user in apex without user having customize application permission?

  • Abhinav

    Member
    August 16, 2016 at 10:32 am

    Hi Mohit,

    It might not possible to create Group using standard user.

    Group objGroup = new Group(Name = 'TestGroup1', Type='Regular');
    insert objGroup;

    The above code works for System Administrator profile, but it does not work for Standard User.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos