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
hchhch 

Dynamically Display users and roles

I want to display a visualforce page with the users information and with their respective roles. The Output should be like this:

 

USER                                           EMAIL

RoleA

  User A                            userA@test.com

  User  B                           userB@test.com

Role B

  User C                            userC@test.com

  User D                             userD@test.com

 

Please help me in accomplishing this requirement.

 

Thanks in Advance!!