+ 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!!