File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -942,7 +942,7 @@ def _run_check(self) -> None:
942942 try :
943943 my_name = principal .get_display_name ()
944944 if my_name :
945- my_principals = client .principals (name = my_name )
945+ my_principals = client .search_principals (name = my_name )
946946 if isinstance (my_principals , list ) and len (my_principals ) == 1 :
947947 if my_principals [0 ].url == principal .url :
948948 self .set_feature ("principal-search.by-name" , True )
@@ -975,7 +975,7 @@ def _run_check(self) -> None:
975975
976976 ## List all principals
977977 try :
978- all_principals = client .principals ()
978+ all_principals = client .search_principals ()
979979 ## Some servers return empty list, some return principals
980980 ## We know there exists at least one principal (self)
981981 if isinstance (all_principals , list ) and len (all_principals )> 0 :
You can’t perform that action at this time.
0 commit comments