Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How can I know that the profile is custom or standard in salesforce through query?

    Tagged: Custom Controller, Salesforce Apex, Salesforce Query, Salesforce SOQL, Standard Controller, User Profile

    • Salesforce® Discussions

      How can I know that the profile is custom or standard in salesforce through query?

      Posted by PRANAV on November 23, 2016 at 3:02 PM

      Hi All,

      How can I know that the profile is custom or standard in salesforce through query?

      Through query I want a list of custom profiles in a org.

      Please give suggestions.

      Thanks

      Mohammad replied 6 years, 2 months ago 3 Members · 2 Replies
      • Custom Controller
      • Salesforce Apex
      • Salesforce Query
      • Salesforce SOQL
      • Standard Controller
      • User Profile
    • 2 Replies
    • Bhavesh

      Member
      December 7, 2016 at 11:07 AM

      Hello Pranav,

      You can do like this:

      List<String> stdProNames= new List<String>{'System Administrator','Standard User','Read Only','Solution Manager','Marketing User','Contract Manager'};
      Profile[] customProfiles = [Select Id, Name from Profile where Name NOT IN :stdProNames];
      System.debug(customProfiles);

    • [adinserter block='9']
    • Mohammad

      Member
      June 11, 2020 at 8:47 AM

      Below SOQL will fetch you all standard profiles.
      SELECT ProfileId, Profile.Name FROM PermissionSet Where Iscustom=false AND ProfileId != null
      Below SOQL will fetch you all custom profiles.
      SELECT ProfileId, Profile.Name FROM PermissionSet Where Iscustom=true AND ProfileId != null

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Delivering Net Zero with the Power of Salesforce!

    Delivering Net Zero with the Power of Salesforce!

    Blog in Others

    Welcome back as we return once again to Salesforce’s new kid on the block – Net Zero Cloud. You may have guessed this already, but…

    Bottom Line, Buy-In, Capacity Building, Carbon Action Planning, Carbon Credit Marketplace
    Stimulus Consulting Apr 19, 2023
    1,753  Views

    Salesforce Winter '24 Release Notes

    Blog in Salesforce Releases

    Winter '24 is coming! Salesforce prepared a huge pack of various features to help businesses of all sizes. Salesforce releases empower organizations to keep up…

    Consulting, Custom Business Needs, Custom CSS, Custom Error Messages, Customer Feedback
    Sparkybit Oct 25, 2023
    2,119  Views
    Salesforce Visualforce – Implemantation using SelectOption

    Salesforce Visualforce - <apex:actionFunction> Implementation using SelectOption

    Blog in Others, Salesforce Apex, Visualforce

    Hello guys, Today I am going to show how to make show how to use <apex:actionFunction>. In this article, I am going to render all…

    apex:actionFunction, Option Class, Salesforce Accounts, Salesforce Apex, Salesforce Contacts
    Avnish Yadav Sep 26, 2018
    9,528  Views

    Popular Salesforce Videos

    Salesforce Financial Services Cloud Implementation Guide

    Salesforce Financial Services Cloud Implementation Guide

    Video in Salesforce Cloud Platform, Salesforce Implementation

    You’ve decided to use Salesforce Financial Services Cloud but where do you begin? How can you utilize Salesforce to track all your customer interactions and…

    Salesforce Training, Salesforce Development, Salesforce Integration, Salesforce Consulting, Salesforce Video
    DB Aug 31, 2023
    1,546  Views
    Manage Packages & Post Installation Script | Salesforce Managed Packages

    Manage Packages & Post Installation Script | Salesforce Managed Packages

    Video in Salesforce Training

    This video will give you a brief overview of Managed Packages and Unmanaged Packages in Salesforce. You will get a quick glance at how to…

    Salesforce Training, Salesforce Tutorial, Salesforce Packages, Salesforce Managed Packages, Salesforce Video
    Algoworks Sep 20, 2021
    1,903  Views
    Learn About the Salesforce Products in this Tutorial Video

    Learn About the Salesforce Products in this Tutorial Video

    Video in Salesforce Products

    Salesforce is a top-rated CRM that offers businesses a diverse range of products to enhance their business model and operations. With each Salesforce product specifically…

    Salesforce Training, Salesforce Products, Salesforce Sales Cloud, salesforce, CRM
    Vivek Jun 21, 2022
    3,009  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.