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

 Syntax:
 lpszUserName = UsrNameGet( dwUserID )

 Parameters:
 dwUserIDThe bindery ID number of the user.

 Returns:
 A character string of length 47.

 The CA-Clipper name for this function is:
 UsrNameGet()

 Description:
 UsrNameGet() returns the login name of the specified bindery object ID
 number dwUserID.

 Returns an empty string if an error occurs.

 Example:
 // To display the login name of the user JUD:
 dwCurrID = UsrIDGet ( "JUD" )
 if ( dwCurrID != NOVERRLONG )
    lpszCurrName = UsrNameGet( dwCurrID )
    if ( !empty ( lpszCurrName ) )
       ? "The object ID of user", lpszCurrName, "is", dwCurrID
    endif
 endif

See Also: UsrIDGet() UsrFullNameGet() / UsrFullNameSet() FSUserAdd() FSUserDelete() UsrNameChange()

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