← Files Dataiku HeadlessARCHIVED FILE
skills/dataiku-headless/references/administration/users.md
2.56 KB · Nov 27, 2026 · 19:32 UTC
--- name: users description: List and administer Dataiku users. Use when inspecting login or session activity, finding, creating, updating, disabling, or deleting instance users. --- # Users Use these tools for instance-level Dataiku user administration. `list_users` works with any valid Dataiku API credentials and is not routed through Cobuild. Creating, updating, and deleting users require administrator credentials. ## Workflow 1. Use `list_users` to return all users, or filter by login, display name, or group membership to identify the exact login. Multiple requested groups use any-of matching. Administrators can also search email. When filtering users by group membership, first read `./groups.md` for the group-listing workflow and use the exact returned group names; never make up group names. 2. Before creating a user or updating its `groups`, read `./groups.md` for the group-listing workflow and use the exact returned group names; never make up group names. 3. Before creating a user or changing its `profile`, read `./licensing.md` for the workflow to identify valid profile names. 4. Before updating or deleting, confirm the exact login and current core settings from an administrator-visible matching row. 5. Use `create_user`, `update_user`, or `delete_user` for the requested change. 6. Verify the result with `list_users` using the exact login as the search value. ## Preferred Tools - `list_users` - `create_user` - `update_user` - `delete_user` ## User Activity Use `list_users(include_activity=true)` with administrator credentials to add `last_successful_login`, `last_failed_login`, and `last_session_activity` as Unix milliseconds (`null` when absent). Session activity means opening a new Dataiku tab or refreshing a session. Filters and pagination still apply; permission or API errors fail the call. Activity is omitted by default. ## Safety Rules - Non-administrator `list_users` results contain only login, display name, group memberships, and enabled status. They do not expose email, profile, or authentication source. - Treat `groups` on create and update as a complete membership list, not an additive list. - Use passwords supplied by the user. Never invent, repeat, or expose passwords in the response. - Passwords apply only to `LOCAL` users; LDAP, SSO, and Azure AD users authenticate externally. - Use only profile names returned by `get_licensing_status`; do not invent profile types. - User profiles are license-controlled capability tiers, not security boundaries. Use groups for access control. - Do not delete a user until the exact login has been established.
SHA-256: e724a1aa4118797e30c45abda91c37f5dea63f5905f98e9e5137587f7235b518