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: descope/management/user.py
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@
9
9
MgmtV1,
10
10
Sort,
11
11
associated_tenants_to_dict,
12
-
map_to_values_object,
13
12
sort_to_dict,
14
13
)
15
14
fromdescope.management.user_pwdimportUserPassword
@@ -666,7 +665,9 @@ def search_all(
666
665
to_modified_time (int): Optional int, only include users whose last modification/update occurred on or before this time (in Unix epoch milliseconds)
667
666
user_ids (List[str]): Optional list of user IDs to filter by
668
667
tenant_role_ids (dict): Optional mapping of tenant ID to list of role IDs.
668
+
Dict value is in the form of {"tenant_id": {"values":["role_id1", "role_id2"], "and": True}} if you want to match all roles (AND) or any role (OR).
669
669
tenant_role_names (dict): Optional mapping of tenant ID to list of role names.
670
+
Dict value is in the form of {"tenant_id": {"values":["role_name1", "role_name2"], "and": True}} if you want to match all roles (AND) or any role (OR).
from_modified_time (int): Optional int, only include users whose last modification/update occurred on or after this time (in Unix epoch milliseconds)
787
788
to_modified_time (int): Optional int, only include users whose last modification/update occurred on or before this time (in Unix epoch milliseconds)
788
789
tenant_role_ids (dict): Optional mapping of tenant ID to list of role IDs.
790
+
Dict value is in the form of {"tenant_id": {"values":["role_id1", "role_id2"], "and": True}} if you want to match all roles (AND) or any role (OR).
789
791
tenant_role_names (dict): Optional mapping of tenant ID to list of role names.
792
+
Dict value is in the form of {"tenant_id": {"values":["role_name1", "role_name2"], "and": True}} if you want to match all roles (AND) or any role (OR).
0 commit comments