*//////////////////////////////////////////////////////////////* * #g4slkch_getUserIDFromName - Get User ID from User 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 id or blank for error. * * * * Settable Variables ([r]=required) * * id - The Slack ID to use [r] * * team - The Slack Team to use [r] * * user_name - The user name to use to retrieve the ID [r] * * * *//////////////////////////////////////////////////////////////* D #g4slkch_getUserIDFromName... D PR 256 D out_errMsg 256 Options(*NOPASS) #g4slk_getUserIDFromName is used retrieve the user ID using a user name.
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:
Settable Variables (use #g4slk_setValue)
|
Documentation > GreenTools for Slack (G4SLK) > G4SLK Documentation > GreenTools for Slack (G4SLK) Addon Library > Slack Chat Addon (G4SSLKCH) >