The contents of the group database (and available groups) can be seen with a variety of tools:
The <grp.h> header file contains the functions getgrgid and getgrname to look up a group by its ID or Name, as well as the functions setgrent, getgrent, and endgrent to iterate through all groups.2
The getent command can be used to fetch group information.
For a specific group called 'users':
Stevens, W. Richard; Rago, Stephen A. (2013). Advanced programming in the UNIX environment (third ed.). Upper Saddle River (NJ): Addison-Wesley. pp. 182–183. ISBN 978-0-321-63773-4. 978-0-321-63773-4 ↩