GetUserInfo
Task to retrieve information about a Slack user.
Last updated
Was this helpful?
Task to retrieve information about a Slack user.
Task version: 1.0.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
UserId : String
The unique Slack user ID of the person whose information you want to retrieve.
Default: -
Example: U0A1BC2DE
🗝Token : String
Slack OAuth token used for authentication.
If the token is a bot token (starts with "xoxb"), messages
will be updated as the Slack app's bot user.
If the token is a user token (starts with "xoxp"), messages
will be updated as the Slack user who authorized the token.
The token owner must be the original message poster
or have appropriate permissions to edit the message.
Note: User tokens require the user to have authorized the app via OAuth
with appropriate scopes (e.g., "chat:write").
Default: -
Example: xoxb-123456789
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure.
Default: True
Example: false
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Custom error message
Success : Boolean
Indicates if the task completed successfully.
Example: true
User : User
The Slack user information retrieved by the task.
Example: { "Id": "U012A3CDE", "Name": "john.doe", "RealName": "John Doe", "IsAdmin": true, "Email": "john.doe@example.com" }
Error : Error
Error that occurred during task execution.
Example: object { string Message, object { Exception Exception } AdditionalInfo }
Changelog for Task Frends.Slack.GetUserInfo.
Initial implementation
Last updated
Was this helpful?
Was this helpful?

