Thanks for the posted thread, this is helping me as well. I have a question to add to Naresh's question, I am having a hard time finding an example.
I need a list of user emails from a specific role in our Org. The added query parameter is not selecting users in the 'UMN Student' role, all users are returned:
users = gis.users.search(query='role: UMN Student')
[users.email for users in gis.users.search()]
Any tips for a newbie? Thanks!
Kate