function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Display grand total sales done by each user on vf page

I have developed vf page to display grand totals for each user on vf page.
I am struck with fetching the users list in to vf page.
any help appreciated

Thanks in advance
Best Answer chosen by usersfdc21
You can pull back the users via a SOQL query as you would any other Salesforce records, e.g.
List<User> users=[select id, FirstName, LastName from User];
This assumes that you have a custom or extension controller that you can put Apex code into.