#g4slkch_getUserName

  *//////////////////////////////////////////////////////////////*          
  * #g4slkch_getUserName - Get User Name from ID                 *          
  *                                                              *          
  * Input:                                                       *          
  *   in_parameter (required) - The parameter name.              *          
  *   in_value (required) - The value of the parameter.          *          
  *                                                              *          
  * Output:                                                      *          
  *   out_errMsg - The error message (if error exists).          *          
  *                                                              *          
  * Returns:                                                     *          
  *   User name or blank for error.                              *          
  *                                                              *          
  * Settable Variables ([r]=required)                            *          
  *   id - The Slack ID to use [r]                               *          
  *   team - The Slack Team to use [r]                           *          
  *   user_id - The user ID to user to retrieve the name [r]     *          
  *                                                              *          
  *//////////////////////////////////////////////////////////////*          
 D #g4slkch_getUserName...       
 D                 PR           256                         

D out_errMsg 256 Options(*NOPASS)

#g4slk_getUserName is used retrieve the user name using a user ID. To ensure the name is retrieved it is recommended to call #g4slkch_getUserList before calling this function.

Returns: The user ID or blank for an error.

Optional Parameters:

  • Error Message (output) - Error message

Settable Variables (use #g4slk_setValue)

  • id (required) - The Slack ID to use to retrieve the user name.
  • team (required) The Slack Team to use to retrieve the user name.
  • user_id (required) - The user name to retrieve the ID for.