U@GETLONGUNAM gets the long user name, if it exists, from the security system. This is used most often to display the full first and last name of the user. The long name is found through the password of the passed E@WSUSERNAME. If the security system is not used, or there is no long name available, E@WSLONGUSRNM is returned with blank fill.
| Module |
DATABASE |
| Input |
E@WSUSERNAME |
| Output |
E@WSLONGUSRNM (set or reset) |
Programming Example
IF F1@FC = 'A'
OR F1@BPNM = *BLANKS
EVAL E@WSUSERNAME = F1@BPOPRT
CALLP U@GETLONGUNAM Get Long User Name
EVAL F1@BPNM = E@WSLONGUSRNM
ENDIF
|