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
Prajapati.LakhanPrajapati.Lakhan 

Query app and tab permissions defined in permission set

Hi all,

 

As we can define app ,tab, object etc. permissions at user level using "permissionSet". 

I know that we can query object and field permissions using SOQL in apex.

In similar way is there any way to retrieve app and tab permissions? 

Is there any other way using REST/SOAP/Metatadata API ?

 

 

Thanks,

Lakhan

Anup JadhavAnup Jadhav

Yes, you sort of can access these permissions using the Metadata api. Check out the documentation:

 

http://www.salesforce.com/us/developer/docs/api_meta/index.htm

 

Search for "applicationVisibilities" method.

 

- Anup

Prajapati.LakhanPrajapati.Lakhan

Hi Anup,

 

Thanks for the inputs, I am not sure but the tab and application permissions I can retrieve using metadata belong to profile not the permission set.

 

Is there any way to retrieve tab/app permissions defined at permission set level?

 

 

Thanks,

Lakhan