Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual—522629-013
15-46
USER_GETINFO_ Procedure
3 not used
4 N (any network user)
5 C (any network group/community user)
6 U (only the network owner)
7 - (only the local super ID)
Considerations
•
Either user-id or user-name must be supplied. If both parameters are supplied 
and 
user-curlen is greater than zero, then user-name is used and user-id is 
treated as an output parameter. In this case, no attention is paid to the current 
contents of the 
user-id parameter.
•
For information on aliases or groups other than the primary group, or for OSS 
information, Safeguard software must be installed. For more information on the 
Safeguard product, refer to the 
Safeguard Reference Manual.
OSS Considerations
•
The initdir parameter indicates the OSS pathname for the initial working 
directory for the specified user in an OSS environment.
•
The initprog parameter returns the OSS pathname for the initial program for the 
specified user in an OSS environment.
Example
REALLEN := 0;
ERROR := USER_GETINFO_ (USERNAME:MAXLEN, REAL^LEN, USER^ID);
 ! Get the username corresponding to a user ID










