Guardian Programming Reference Summary for C
Functions Summary (G-N)
Guardian Programming Reference Summary for C—522630-001
6-5
GROUPIDTOGROUPNAME
(superseded by USER_GETINFO_) Returns the group name associated with an existing
group ID from the USERID file.
GROUPMEMBER_GETNEXT_
Returns a user name or alias associated with a group ID. On successive calls, all user
names and aliases associated with a given group ID can be obtained.
#include <cextdecs(GROUP_GETNEXT_)>
short GROUP_GETNEXT_ ( [ char *group-name ] /* i */
,[ short group-maxlen ] /* o,i */
,[ short *group-curlen ] /* i,o */
,[ long *groupid ] ); /* o */
#include <cextdecs(GROUPIDTOGROUPNAME)>
_cc_status GROUPIDTOGROUPNAME
( short _near *id-name ); /* i,o */
_status_lt (<returned_value>) Required parameter is missing, a buffer is out
of bounds, or an I/O error occurred when
accessing the $SYSTEM.SYSTEM.USERID
file.
_status_eq (<returned_value>) The designated group name is returned.
_status_gt (<returned_value>) The specified group ID is undefined.
#include <cextdecs(GROUPMEMBER_GETNEXT_)>
short GROUPMEMBER_GETNEXT_ ( long groupid /* i */
,char *member-name /* i */
,short member-maxlen /* o,i */
,short *member-curlen );/* i,o */