Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 5 years, 9 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);

    • 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

    application solution

    Popular Salesforce Blogs

    Bric

    Bric Web App - Accessing your card directory online

    Blog in Others

    Bric Web App - Accessing your card directory online It's great to have business cards saved on mobile Apps like Bric App, accessed on the go…

    Bric Web App, Business Card Reader, Business Card Scanner, Business Card Web App
    Iatsham Sep 4, 2017
    3,356  Views
    Organization Wide Default

    Organization Wide Default (OWD) Sharing Settings in Salesforce

    Blog in Salesforce, Salesforce Security

    In this blog, we will be discussing OWD. So, let's take a look at what OWD stands for, as we know that OWD stands for…

    data, Object, Object-level Access, Object-level Permissions, Organization-wide Default
    bhawana Nov 14, 2022
    3,741  Views
    A Complete Guide to Dreamforce 2024

    A Complete Guide to Dreamforce 2024

    Blog in Salesforce

    Dreamforce, Salesforce’s flagship conference, is the highlight of the year for many professionals in the Salesforce ecosystem. With countless workshops, networking opportunities, and parties –…

    AppExchange Partners, Dreamfest 2024, Dreamforce, DreamForce 2023, Dreamforce 2024
    SP Aug 12, 2024
    533  Views

    Popular Salesforce Videos

    How to Connect to External Data | Salesforce

    How to Connect to External Data | Salesforce

    Video in Salesforce Stories, Data

    An external data source specifies how to access an external system. Salesforce Connect uses external data sources to access data that's stored outside your Salesforce…

    salesforce, Salesforce Video, Salesforce Organization, Salesforce Learning, Analytics
    Pooja Oct 21, 2020
    1,458  Views
    How to Subscribe Salesforce Report in Lightning Experience?

    How to Subscribe Salesforce Report in Lightning Experience?

    Video in Lightning

    Subscribe Report : We can configure any Salesforce report to run Daily, Weekly or Monthly as HTML email to your Salesforce org. users. Advantages of…

    Salesforce Reports, Salesforce Lightning, Salesforce Lightning Experience, Salesforce Implementation, Learn Salesforce
    Abhay Feb 26, 2018
    1,915  Views
    Learn How To Crack Salesforce Interview In The First Attempt | Salesforce Salaries

    Learn How To Crack Salesforce Interview In The First Attempt | Salesforce Salaries

    Video in Salesforce Stories, Salesforce Certifications

    This MindMajix video on How To Crack Salesforce Interview In First Attempt video for both freshers and experienced will help you to learn the key…

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, salesforce, Learn Salesforce
    Vivek Jul 15, 2022
    2,814  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.