DtvLong dal_dbi_get_usr_nam (uic, nam)

Returns the user name for the user identification code passed.

Input Parameters Significance
DtvLong uic user identification code (UIC)

Output Parameters Significance
char *nam user name

Return Code Significance
0 no error
1 user is not registered in DataView
-1 data base error reading the user data

When a zero pointer is passed for the output parameter, the corresponding value is not read.

In the calling function have to be allocated 21 bytes storage place.