Accesses the concurrent group set information in the user database.
Standard C Library (libc.a)
char *getgrset (User)
const char * User;
The getgrset subroutine returns a pointer to the comma separated list of concurrent group identifiers for the named user.
If the Network Information Service (NIS) is enabled on the system, these subroutines attempt to retrieve the user information from the NIS authentication server.
User | Specifies the user name. |
If successful, the getgrset subroutine returns a pointer to a list of supplementary groups. This pointer must be freed by the user.
A NULL pointer is returned on error. The value of the errno global variable is undefined on error.
/etc/group | Contains basic group attributes. |
List of Security and Auditing Subroutines, Subroutines Overview in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.