#g4slkch_getUserRealName

  *//////////////////////////////////////////////////////////////*           
  * #g4slkch_getUserRealName - Get User Real Name                *           
  *                                                              *           
  * 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 Real 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_getUserRealName...                                               
 D                 PR           256                                                              
 D  out_errMsg                  256    Options(*NOPASS)                                                                                        
#g4slk_getUserRealName is used retrieve the user's "real name" using a user ID.  To ensure the name is retrieved it is recommended to call #g4slkch_getUserList before calling this function.  The Real Name is normally a more descriptive name than just the name.

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 name.
  • team (required) The Slack Team to use to retrieve the name.
  • user_id (required) - The user ID to retrieve the User Real Name for.
Comments