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, 4 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

    An Introduction to Salesforce Consumer Goods Cloud

    Blog in Salesforce Cloud Platform

    Salesforce has introduced Consumer Goods Cloud, a new industry product that enables companies related to consumer goods to optimize revenue growth and maximize ROI with…

    Consumer Goods, Customer Service, Salesforce Consultants, Salesforce Consulting Company, Salesforce Consulting Services
    John Sep 27, 2019
    12,958  Views
    How does Salesforce Data cloud improve operational efficiency?

    How Does Salesforce Data Cloud Improve Operational Efficiency?

    Blog in Data

    Table of Contents What is Salesforce Cloud Data? Salesforce Data Cloud enhances operational efficiency in several ways Data Unification Real-time Insights Personalization Automation Segmentation Third-party…

    Australia, Automation, CDP, Complete Customer Profiles, Customer Data Platform
    Kizzy Consulting May 6, 2024
    808  Views
    B2B Commerce

    How Does the Store Work in B2B Commerce? | Salesforce Guide

    Blog in Others, Salesforce

    The primary thing to get done with regards to understanding the B2B Commerce information model is understanding the part of the store. The store in…

    Authoritative Standard Permitting, B2B Commerce, B2B Commerce Information Model, B2B Stores, Book Passage
    MOHIT May 7, 2021
    4,208  Views

    Popular Salesforce Videos

    5 Tips: How Events Can Help You Drive Value for Your Business | Salesforce on Salesforce

    5 Tips: How Events Can Help You Drive Value for Your Business | Salesforce on Salesforce

    Video in Salesforce Training

    Events are at the heart of every major launch moment and announcement. They offer opportunities to connect with customers, providing experiences that grow loyalty. And…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Customers
    Rupal Kakkar Jun 28, 2022
    1,973  Views
    Saving Journey History in Marketing Cloud

    Saving Journey History in Marketing Cloud

    Video in Marketing, Salesforce Cloud Platform

    We explore how to leverage Marketing Cloud REST API and its automations to save all the journey history data for your organization. Includes a video…

    Salesforce Training, salesforce, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    DB Apr 4, 2022
    2,178  Views
    Summer '20 Release - Release Updates Page

    Summer '20 Release - Release Updates Page

    Video in Others, Salesforce Stories

    Check out the new Release Updates Page. Salesforce Summer '20 is full of amazing features for #AwesomeAdmins! Check out what's new when you follow and…

    Salesforce Training, Salesforce Admin, Salesforce Video, Salesforce Learning, Summer 20
    Neha Yadav Jul 14, 2020
    1,510  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.