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

    Salesforce Experience Cloud: A Comprehensive Guide

    Blog in Salesforce, Salesforce Cloud Platform

    In order to maintain a competitive advantage, businesses must continually adapt to the ever-changing needs of their customers. To meet these customer demands and stay…

    Chatter, Community Cloud, Customer Behavior, Customer Experience, Customer Experiences
    Emorphis Dec 16, 2022
    1,472  Views
    salesforce data cleansing

    A 'Deep Clean' for Your Salesforce Org: Data and Metadata

    Blog in Data, Salesforce

    As your business grows, so will your Org. And while a highly customized Salesforce Org reflects a booming business, there’s a critical difference between necessary…

    Automation, Best Practices, Build New Customizations, Business, Business Change
    Netwrix Sep 21, 2021
    2,675  Views
    salesforce chatter

    How to Use Salesforce Chatter Better?

    Blog in Others, Salesforce Products

    Here are 3 main STEPS, by which you can use SALESFORCE chatter more efficiently. Take a look… STEP 1: Follow relevant people and data Keep…

    Business Associates, Business Deal, Cases and Custom Objects, Chatter Administrators, Chatter Email Manager
    Algoworks Jan 16, 2017
    9,916  Views

    Popular Salesforce Videos

    Integrating System with Salesforce Commerce Cloud

    Integrating System with Salesforce Commerce Cloud

    Video in Salesforce Integration, Salesforce Cloud Platform

    Designed for retail as well as eCommerce, Salesforce Commerce Cloud has become the best solution for delivering the ultimate shopping experience to the customers. By…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, Salesforce Cloud
    Cyntexa Dec 2, 2021
    2,372  Views
    Salesforce Consultant | A Day in the life

    Salesforce Consultant | A Day in the life

    Video in Salesforce Consultant

    The Salesforce ecosystem is expected to create over 3.3 million new software jobs by 2022. The demand for people who are willing to learn Salesforce…

    Salesforce Products, Salesforce Developer, Salesforce Consultant, Salesforce Consulting Company, Marketing Automation
    Portia Jan 12, 2020
    1,941  Views
    Salesforce Pardot Basics - A Comprehensive Guide (2021)

    Salesforce Pardot Basics - A Comprehensive Guide (2021)

    Video in Marketing

    In this short video, we will cover the basics of Salesforce Pardot Pardot by Salesforce is a demand generation and marketing management tool by Salesforce.…

    Salesforce Training, Marketing Automation, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    SP Jun 21, 2021
    1,719  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.