Activity Forums Salesforce® Discussions How to access profile permissions via Salesforce API?

  • PRANAV

    Member
    September 7, 2016 at 11:58 am

    Hi Tanu,

    If you want to find the CRUD permissions of a profile you can use this code:

    SELECT Id, SObjectType, PermissionsRead, PermissionsCreate
    FROM ObjectPermissions
    WHERE parentid in (select id from permissionset where
    PermissionSet.Profile.Name = 'System Administrator')

    Hope this helps you.

    Thanks

  • Avnish Yadav

    Member
    September 29, 2018 at 9:04 pm

    Hello,

    To view permissions and their descriptions, from Setup, enter Permission Sets in the Quick Find box, then select Permission Sets, then select or create a permission set. Then from the Permission Set Overview page, click App Permissions or System Permissions.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos