diff options
| author | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-18 14:58:30 -0700 |
|---|---|---|
| committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-18 14:58:30 -0700 |
| commit | 6b3d1e85da1397324fa7e8dc25706129ff8ed6fc (patch) | |
| tree | bf15328822d13b8b2379ba42660be9d10d2d7f6c /ipa-python/rpcclient.py | |
| parent | c4998d3902ab17e73d29255db38f9c4cc33863d6 (diff) | |
| download | freeipa-6b3d1e85da1397324fa7e8dc25706129ff8ed6fc.tar.gz freeipa-6b3d1e85da1397324fa7e8dc25706129ff8ed6fc.tar.xz freeipa-6b3d1e85da1397324fa7e8dc25706129ff8ed6fc.zip | |
Add client-side search limit parameter for user search.
Limit editgroup user ajax search.
Minor UI cleanup for editgroup.
Diffstat (limited to 'ipa-python/rpcclient.py')
| -rw-r--r-- | ipa-python/rpcclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-python/rpcclient.py b/ipa-python/rpcclient.py index e0d6e2ee7..96c8976c8 100644 --- a/ipa-python/rpcclient.py +++ b/ipa-python/rpcclient.py @@ -150,7 +150,7 @@ class RPCClient: return ipautil.unwrap_binary_data(result) - def find_users (self, criteria, sattrs=None): + def find_users (self, criteria, sattrs=None, searchlimit=0): """Return a list: counter followed by a User object for each user that matches the criteria. If the results are truncated, counter will be set to -1""" @@ -160,7 +160,7 @@ class RPCClient: # None values are not allowed in XML-RPC if sattrs is None: sattrs = "__NONE__" - result = server.find_users(criteria, sattrs) + result = server.find_users(criteria, sattrs, searchlimit) except xmlrpclib.Fault, fault: raise ipaerror.gen_exception(fault.faultCode, fault.faultString) except socket.error, (value, msg): |
