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> usrfullnameget() / usrfullnameset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrFullNameGet() / UsrFullNameSet()
------------------------------------------------------------------------------
 Purpose:
 Get or set the full name of a user.

 Syntax:
 lpszFullName = UsrFullNameGet( lpszUserName )
 lpszFullName = UsrFullNameSet( lpszUserName, lpszNewFullName )

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

 Returns:
 A character string of length 127.

 The CA-Clipper names for these functions are:
 UsrFulNmeGet() / UsrFulNmeSet()

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

 UsrFullNameSet() 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 = UsrFullNameGet( "ALAN" )
 if ( !empty ( lpszCurrName ) )
    ? "User ALAN's full name is", lpszCurrName
 endif
 // Change the full name of user ALAN to Alan Baldwin:
 if ( !empty( UsrFullNameSet( "ALAN", "Alan Baldwin" ) ) )
    ? "User ALAN's full name is now Alan Baldwin"
 endif

 Notes:
 These functions may require Supervisor equivalence.

See Also: ItmPropertyValueGet() / ItmPropertyValueSet() ObjPropertyList() UsrNameGet()

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