From 2147635fd440bbe28d796218d593ffd68c2eae83 Mon Sep 17 00:00:00 2001 From: Gerry Nelson <45608078+gerrynelson63@users.noreply.github.com> Date: Fri, 18 Dec 2020 15:36:12 -0500 Subject: [PATCH] Update updatepreferences.py upped the limit on all users --- updatepreferences.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updatepreferences.py b/updatepreferences.py index 0709430..e64e176 100755 --- a/updatepreferences.py +++ b/updatepreferences.py @@ -64,7 +64,7 @@ json= {"application": "SAS Visual Analytics", "version": 1,"id": preferenceID ," if target=='all' : reqtype='get' - reqval='/identities/users/' + reqval='/identities/users/?limit=10000' resultdata=callrestapi(reqval,reqtype) reqtype="put" @@ -117,4 +117,4 @@ else: # Execute actual code to update the preference for a user or a group reqval="/preferences/preferences/"+ id +"/" + preferenceID result=callrestapi(reqval, reqtype,data=json,stoponerror=0) print("Updating Preference "+reqval+" = "+preferenceValue) - else: print("Cannot set preferences for a group "+id ) \ No newline at end of file + else: print("Cannot set preferences for a group "+id )