Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-36
USER_GETINFO_
Returns the default attributes of the specified user. The user can be identified by user
name; by Guardian user ID; or, if Safeguard is running, by alias.
error
default-security
#include <cextdecs(USER_GETINFO_)>
short USER_GETINFO_
( [ char *user-name ] /* i */
,[ short user-maxlen ] /* o:i */
,[ short *user-curlen ] /* i,o */
,[ long *user-id ] /* i,o */
,[ short *is-alias ] /* o */
,[ short *group-count ] /* o */
,[ long *group-list ] /* o */
,[ long *primary-group ] /* o */
,[ char *volsubvol ] /* o */
,[ short volsubvol-maxlen ] /* i */
,[ short *volsubvol-len ] /* o */
,[ char *initdir ] /* o */
,[ short initdir-maxlen ] /* i */
,[ short *initdir-len ] /* o */
,[ char *initprog ] /* o */
,[ short initprog-maxlen ] /* i */
,[ short *initprog-len ] /* o */
,[ short *default-security ] );/* o */
0 No error. Default user information is returned as requested.
11 Record not in use. The specified group name or group ID is undefined.
22 Parameter out of bounds. An input parameter is not within the valid range, or
return information does not fit into the length of the space provided, or an output
parameter overlays the stack marker that was created by calling this procedure.
29 Missing parameter. This procedure was called without specifying a required
parameter.
590 Bad parameter value. The value specified in user-curlen is greater than the
value specified in user-maxlen, or the value specified in user-curlen is
not within the valid range, or the value specified in user-id is not within the
valid range.
Bit 0-3 reserved
Bits 4-6 read