Function to return all users in a group

Is there a function that returns all the users in a particular group?

I'm trying to display the names of the members of a group in a dropdown in a SAIL form, and if possible I'd like to avoid making a separate constant that just contains the usernames of the members of this group.

OriginalPostID-170134

OriginalPostID-170134

  Discussion posts and replies are publicly visible