diff --git a/.vscode/settings.json b/.vscode/settings.json index 99b5cc204..82bb0d42b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,10 @@ "flake8.importStrategy": "fromEnvironment", "mypy-type-checker.importStrategy": "fromEnvironment", "isort.importStrategy": "fromEnvironment", - "black-formatter.importStrategy": "fromEnvironment" + "black-formatter.importStrategy": "fromEnvironment", + "workbench.colorCustomizations": { + "activityBar.background": "#4D1C3B", + "titleBar.activeBackground": "#6B2752", + "titleBar.activeForeground": "#FDF8FB" + } } diff --git a/descope/management/user.py b/descope/management/user.py index f56e1437f..061aa4bec 100644 --- a/descope/management/user.py +++ b/descope/management/user.py @@ -599,6 +599,7 @@ def search_all( to_created_time: Optional[int] = None, from_modified_time: Optional[int] = None, to_modified_time: Optional[int] = None, + user_ids: Optional[List[str]] = None, ) -> dict: """ Search all users. @@ -622,6 +623,7 @@ def search_all( to_created_time (int): Optional int, only include users who were created on or before this time (in Unix epoch milliseconds) from_modified_time (int): Optional int, only include users whose last modification/update occurred on or after this time (in Unix epoch milliseconds) to_modified_time (int): Optional int, only include users whose last modification/update occurred on or before this time (in Unix epoch milliseconds) + user_ids (List[str]): Optional list of user IDs to filter by Return value (dict): Return dict in the format @@ -669,6 +671,9 @@ def search_all( if login_ids is not None: body["loginIds"] = login_ids + if user_ids is not None: + body["userIds"] = user_ids + if text is not None: body["text"] = text