Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual522629-013
15-41
USER_GETINFO_ Procedure
USER_GETINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
OSS Considerations
Example
Summary
The USER_GETINFO_ procedure returns the default attributes of the specified user.
The user can be identified by user name, by user ID, or if Safeguard software is
running, by alias.
Syntax for C Programmers
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(USER_GETINFO_)>
short USER_GETINFO_
( [ char *user-name ]
,[ short user-maxlen ]
,[ short *user-curlen ]
,[ __int32_t *user-id ]
,[ short *is-alias ]
,[ short *group-count ]
,[ __int32_t *group-list ]
,[ __int32_t *primary-group ]
,[ char *volsubvol ]
,[ short volsubvol-maxlen ]
,[ short *volsubvol-len ]
,[ char *initdir ]
,[ short initdir-maxlen ]
,[ short *initdir-len ]
,[ char *initprog ]
,[ short initprog-maxlen ]
,[ short *initprog-len ]
,[ short *default-security ] );