[ckan-dev] question on plugins.toolkit.get_action('user_list')
frederic.prieur at ville.montreal.qc.ca
frederic.prieur at ville.montreal.qc.ca
Wed Jan 15 16:53:01 UTC 2014
Hi guys,
I got a question regarding the plugin.toolkit.get_action request.
I try to get all the users of my ckan instance with the code above:
data_dict = {
'q': '*:*',
'order_by': 'name',
}
result = plugins.toolkit.get_action('user_list')(context, data_dict)
I always get a empty list even if the api call says that i got 5 users.
Am I doing something wrong ?
Thanks in advance
---------------------------------------------------------------------------
Frédéric Prieur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140115/c2909554/attachment-0002.html>
More information about the ckan-dev
mailing list