Guardian Programming Reference Summary for C

Functions Summary (R-Z)
Guardian Programming Reference Summary for C522630-001
8-38
USERDEFAULTS
(superseded by USER_GETINFO_) Returns the default attributes of the specified user.
USERDEFAULTS does not return condition codes when called from a C program.
USERIDTOUSERNAME
(superseded by USER_GETINFO_) Returns the user name, from
$SYSTEM.SYSTEM.USERID, that is associated with a designated user ID.
USERNAMETOUSERID
(superseded by USER_GETINFO_) Returns the user ID, from
$SYSTEM.SYSTEM.USERID, that is associated with a designated user name.
#include <cextdecs(USERIDTOUSERNAME)>
_cc_status USERIDTOUSERNAME
( short _near *id-name ); /* i,o */
_status_lt (<returned_value>) The value of id-name is out of bounds, or
an I/O error occurred in the
$SYSTEM.SYSTEM.USERID file.
_status_eq (<returned_value>) The designated user name returned.
_status_gt (<returned_value>) The specified user ID is undefined.
#include <cextdecs(USERNAMETOUSERID)>
_cc_status USERNAMETOUSERID
( short _near *name-id ); /* i,o */
_status_lt (<returned_value>) The value of name-id is out of bounds, or
an I/O error occurred in the
$SYSTEM.SYSTEM.USERID file.
_status_eq (<returned_value>) The designated user ID returned.
_status_gt (<returned_value>) The specified user name is undefined.