Get User

nextcloud.get_user
ActionFiles & storageconnection required

Calls the Nextcloud API with the connection's credentials.

Read one user's record: display name, email, quota, groups, language and whether the account is enabled.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Nextcloud
Secret shape
{"username": "…", "password": "<app password>"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
user_id
The Nextcloud user id (the login name, not the display name).
stringYes———

Output

One shape.

result

FieldTypeExample
id
The user id.
stringjdoe
displayname
The user's display name.
string—
email
The user's email address.
string—
enabled
False when the account has been disabled.
boolean—
groups
Group ids the user belongs to.
array—
language
The user's interface language.
string—
quota
Quota figures: free, used, total, relative.
object—
lastLogin
Last login, in milliseconds since the epoch.
number—
status
Nextcloud's OCS status word.
stringok
status_code
The OCS meta statuscode: 100 on v1, 200 on v2.
number—
message
The OCS meta message, when the server set one.
string—
total_items
Total matching items, when the endpoint reports it.
string—
items_per_page
Page size, when the endpoint reports it.
string—
{
  "displayname": "",
  "email": "",
  "enabled": false,
  "groups": [],
  "id": "jdoe",
  "items_per_page": "",
  "language": "",
  "lastLogin": 0,
  "message": "",
  "quota": {},
  "status": "ok",
  "status_code": 0,
  "total_items": ""
}

See Get User run in a workflow.

In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.