Actions35
- File Actions
- Folder Actions
- Room Actions
- User Actions
User → Get User
AI-generatedSummary
Retrieves a single ONLYOFFICE DocSpace user profile, either the currently authenticated user or a specific user looked up by ID or email.
Inputs
- authentication (required) — Auth method: API Key, Basic Auth, OAuth2, or Personal Access Token. Determines which credential type is used.
- isMe (required) — If true, returns the current authenticated user (GET api/2.0/people/@self) and ignores the ID and email fields. Default false.
- userId — User to fetch, chosen from a searchable list or entered manually. Shown only when Is Me is false. Provide this or User Email, not both.
- userEmail — Email of the user to fetch (GET api/2.0/people/email). Shown only when Is Me is false. Provide this or User ID, not both.
Output shape
One output item per input item, containing the DocSpace user object (the API's response field) as JSON.
With Is Me off, the operation errors if neither or both of User ID and User Email are supplied. With 'Continue On Fail' enabled, a failed item returns {error: message} instead of stopping the workflow. The exact user fields come from the DocSpace API and are not defined in the node.
Examples
Example 1: Identify which DocSpace account the workflow's credentials belong to
Is Me = true
Example 2: Look up a user's profile from an email received in a previous node
Is Me = false, User Email = {{ $json.email }}, leave User ID empty
Example 3: Fetch a known user by ID
Is Me = false, User ID in Manual mode = the user's ID