Actions25
用户管理 → 读取成员
AI-generatedSummary
Retrieve detailed information about a corporate WeChat Work user by their unique UserID.
Inputs
- userid (required) — The UserID of the member, corresponding to the account in the admin console. It must be unique within the organization, case-insensitive, and between 1 to 64 bytes in length.
Output shape
a JSON object containing the detailed information of the specified user.
The operation performs a GET request to the WeChat Work API endpoint
/cgi-bin/user/getwith the provided userid as a query parameter. The returned data includes the user's profile details if the userid is valid. Errors from the API are thrown as node operation errors.
Examples
Example 1: Retrieve a user with UserID 'user123'
Set userid to 'user123' in the operation parameters.