Skip to main content
2 个回答
  1. 2023年5月15日 05:49

    Hello Firoz,

     

    Certainly! You can use Apex code to retrieve the number of profiles in your Salesforce org. Here's an example:

     

    Integer profileCount = [SELECT COUNT() FROM Profile];

     

    The

    SELECT COUNT()
    query retrieves the count of Profile records in Salesforce, and the result is stored in the
    profileCount
    variable.

     

    Thanks.

0/9000