You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metabase/resources/user.py
+42-4Lines changed: 42 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,15 @@ class User(ListResource, CreateResource, GetResource, UpdateResource, DeleteReso
38
38
39
39
@classmethod
40
40
deflist(cls) ->List[User]:
41
+
"""
42
+
Fetch a list of Users. By default returns every active user but only active users.
43
+
44
+
If status is deactivated, include deactivated users only. If status is all, include all users (active and inactive). Also supports include_deactivated, which if true, is equivalent to status=all. status and included_deactivated requires superuser permissions.
45
+
46
+
For users with segmented permissions, return only themselves.
47
+
48
+
Takes limit, offset for pagination. Takes query for filtering on first name, last name, email. Also takes group_id, which filters on group id.
0 commit comments