@@ -595,6 +595,10 @@ def search_all(
595595 sort : Optional [List [Sort ]] = None ,
596596 text : Optional [str ] = None ,
597597 login_ids : Optional [List [str ]] = None ,
598+ from_created_time : Optional [int ] = None ,
599+ to_created_time : Optional [int ] = None ,
600+ from_modified_time : Optional [int ] = None ,
601+ to_modified_time : Optional [int ] = None ,
598602 ) -> dict :
599603 """
600604 Search all users.
@@ -614,6 +618,10 @@ def search_all(
614618 text (str): Optional string, allows free text search among all user's attributes.
615619 login_ids (List[str]): Optional list of login ids
616620 sort (List[Sort]): Optional List[dict], allows to sort by fields.
621+ from_created_time (int): Optional int, only include users who were created on or after this time (in Unix epoch milliseconds)
622+ to_created_time (int): Optional int, only include users who were created on or before this time (in Unix epoch milliseconds)
623+ from_modified_time (int): Optional int, only include users whose last modification/update occurred on or after this time (in Unix epoch milliseconds)
624+ to_modified_time (int): Optional int, only include users whose last modification/update occurred on or before this time (in Unix epoch milliseconds)
617625
618626 Return value (dict):
619627 Return dict in the format
@@ -667,6 +675,15 @@ def search_all(
667675 if sort is not None :
668676 body ["sort" ] = sort_to_dict (sort )
669677
678+ if from_created_time is not None :
679+ body ["fromCreatedTime" ] = from_created_time
680+ if to_created_time is not None :
681+ body ["toCreatedTime" ] = to_created_time
682+ if from_modified_time is not None :
683+ body ["fromModifiedTime" ] = from_modified_time
684+ if to_modified_time is not None :
685+ body ["toModifiedTime" ] = to_modified_time
686+
670687 response = self ._auth .do_post (
671688 MgmtV1 .users_search_path ,
672689 body = body ,
@@ -688,6 +705,10 @@ def search_all_test_users(
688705 sort : Optional [List [Sort ]] = None ,
689706 text : Optional [str ] = None ,
690707 login_ids : Optional [List [str ]] = None ,
708+ from_created_time : Optional [int ] = None ,
709+ to_created_time : Optional [int ] = None ,
710+ from_modified_time : Optional [int ] = None ,
711+ to_modified_time : Optional [int ] = None ,
691712 ) -> dict :
692713 """
693714 Search all test users.
@@ -705,6 +726,10 @@ def search_all_test_users(
705726 text (str): Optional string, allows free text search among all user's attributes.
706727 login_ids (List[str]): Optional list of login ids
707728 sort (List[Sort]): Optional List[dict], allows to sort by fields.
729+ from_created_time (int): Optional int, only include users who were created on or after this time (in Unix epoch milliseconds)
730+ to_created_time (int): Optional int, only include users who were created on or before this time (in Unix epoch milliseconds)
731+ from_modified_time (int): Optional int, only include users whose last modification/update occurred on or after this time (in Unix epoch milliseconds)
732+ to_modified_time (int): Optional int, only include users whose last modification/update occurred on or before this time (in Unix epoch milliseconds)
708733
709734 Return value (dict):
710735 Return dict in the format
@@ -758,6 +783,15 @@ def search_all_test_users(
758783 if sort is not None :
759784 body ["sort" ] = sort_to_dict (sort )
760785
786+ if from_created_time is not None :
787+ body ["fromCreatedTime" ] = from_created_time
788+ if to_created_time is not None :
789+ body ["toCreatedTime" ] = to_created_time
790+ if from_modified_time is not None :
791+ body ["fromModifiedTime" ] = from_modified_time
792+ if to_modified_time is not None :
793+ body ["toModifiedTime" ] = to_modified_time
794+
761795 response = self ._auth .do_post (
762796 MgmtV1 .test_users_search_path ,
763797 body = body ,
0 commit comments