How to get enterprise users using API ongoing to python web framework
Hi.
I'm new in box cloud.
Can you help me on how to get the enterprise users of box cloud using the API ongoing to python web framework
-
Hi , I'd recommend using our Python SDK.
https://github.com/box/box-python-sdk
You can then request all users with this API call
users = client.users(user_type='all') for user in users: print('{0} (User ID: {1})'.format(user.name, user.id))
Keep in mind your application needs to be configured to have the permission to see all users across the enterprise. If you are authenticated as an admin this should be straightforward, but if you are not there are a few steps to go through.
Please sign in to leave a comment.
Comments
1 comment