Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-42
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 := USER_GETINFO_ ( [ user-name:user-maxlen ]
,[ user-curlen ]
,[ user-id ]
,[ is-alias ]
,[ group-count ]
,[ group-list ]
,[ primary-group ]
,[ volsubvol:volsubvol-maxlen ]
,[ volsubvol-len ]
,[ initdir:initdir-maxlen ]
,[ initdir-len ]
,[ initprog:initprog-maxlen ]
,[ initprog-len ]
,[ default-security ]);
error, INT returned value
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.
user-name:user-maxlen, STRING .EXT:ref:*,INT:value input, output:input
user-curlen, INT .EXT:ref:1 input, output
user-id, INT(32) .EXT:ref:1 input, output
is-alias, INT .EXT:ref:1 output
group-count, INT .EXT:ref:1 output
group-list, INT(32) .EXT:ref:32 output
primary-group, INT(32) .EXT:ref:1 output
volsubvol:volsubvol-maxlen, STRING .EXT:ref:*,INT:value output:input
volsubvol-len, INT .EXT:ref:1 output
initdir:initdir-maxlen, STRING .EXT:ref:*,INT:value output:input