How do I get the list of all group members? I have created one group using the Group module, then I added some members in that group. Now I want to get list of all members in the group from some custom code.

How do I get the list of all group members?
Use the Group module API. 

$group-&gt;getMemberCount()