Guardian Procedure Calls Reference Manual

USERDEFAULTS Procedure (Superseded by USER_GETINFO_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Returned Value
Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development. This procedure does not support aliases or groups.
The USERDEFAULTS procedure returns the default attributes of the specified user, such as the user's
default volume/subvolume and default file security. This same information is also available through
VERIFYUSER; however, USERDEFAULTS is not restricted by security or password-validation
considerations.
Syntax for C Programmers
USERDEFAULTS does not return condition codes when called from a C program.
Syntax for TAL Programmers
error := USERDEFAULTS ( [ user-id ] ! i
,[ user-name ] ! i,o
,[ volsubvol ] ! o
,[ filesecur ] ); ! o
Parameters
user-id
input
STRING .EXT:ref:2
specifies the user ID for which the default information is to be retrieved. Either user-id or
user-name must be specified; if both are supplied, then user-name returns the user name
corresponding to user-id. The user ID is passed in the form:
group ID {0:255}<0:7>
member ID {0:255}<8:15>
USERDEFAULTS Procedure (Superseded by USER_GETINFO_ Procedure) 1461