Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual522629-013
15-42
USER_GETINFO_ Procedure
Syntax for TAL Programmers
Parameters
error returned value
INT
returns a file-system error number indicating the outcome of the call. Common
errors returned are:
0 No error. Default user information is returned as requested.
11 Record not in file. The specified user name or user 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 supplied 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.
Refer to the
Guardian Procedure Errors and Messages Manual for more
information on file-system error messages.
error := USER_GETINFO_
( [ user-name:user-maxlen ] !
i,o:i
,[ user-curlen ] ! i,o
,[ user-id ] ! i,o
,[ is-alias ] ! o
,[ group-count ] ! o
,[ group-list ] ! o
,[ primary-group ] ! o
,[ volsubvol:volsubvol-maxlen ] ! o:i
,[ volsubvol-len ] ! o
,[ initdir:initdir-maxlen ] ! o:i
,[ initdir-len ] ! o
,[ initprog:initprog-maxlen ] ! o:i
,[ initprog-len ] ! o
,[ default-security ] ); ! o