Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> usrfulnmeget() / usrfulnmeset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrFulNmeGet() / UsrFulNmeSet()
------------------------------------------------------------------------------
 Purpose:
 Get / set the full name of a user.

 Syntax:
 lpszFullName = UsrFulNmeGet( lpszUserName )
 lpszFullName = UsrFulNmeSet( lpszUserName,
                lpszNewFullName )

 Parameters:
 lpszUserName    The user's login name.
 lpszNewFullName The user's new full name.

 Returns:
 A character string of length 127.

 Description:
 UsrFulNmeGet() returns the full name of the user specified by the
 login name lpszUserName. Returns an empty string if an error occurs.

 UsrFulNmeSet() sets the full name of the user specified by the login name
 lpszUserName to the value specified by lpszNewFullName and returns the
 previous full name.

 Example:
 // To display the full name of the user ALAN:
 lpszCurrName = UsrFulNmeGet( "ALAN" )
 if ( !empty ( lpszCurrName ) )
    ? "User ALAN's full name is", lpszCurrName
 endif
 // Change the full name of user ALAN to Alan Baldwin:
 if ( !empty( UsrFulNmeSet( "ALAN", "Alan Baldwin" ) ) )
    ? "User ALAN's full name is now Alan Baldwin"
 endif

 Notes:
 These functions may require Supervisor equivalence.

See Also: ItmPrpValGet() / ItmPrpValSet() ObjPrpLst() UsrNameGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson