Tag Archives: Profile

Salesforce: get applications and tabs profile assignments

Salesforce: get application names, application profile assignment, custom tab profile access availability, app to tab correspondence. To Get Custom and Standard Application Names run usual Apex SOQL query: select Id, ApplicationId, Name, Type from AppMenuItem where Type = ‘TabSet’ To … Continue reading

Posted in apex, salesforce, Uncategorized | Tagged , , , , , , , | Leave a comment

Salesforce: how to check if profile is custom or standard by code

When I needed to grant access to some object to all profiles I understood how is it possible to  profile is custom or standard by code   public static Boolean isStandardProfile( String profileName ) { List<PermissionSet> ps = [ select id … Continue reading

Posted in Profile, salesforce, User Management | Tagged , , , , | Leave a comment