pyxnat.Users¶
-
class
pyxnat.
Users
(interface)¶ Database user management interface. It is used to retrieve information on users registered on a server.
Note
At the moment user creation and deletion is not supported through the REST API but it will be at some point.
See also
Project.users()
,Project.add_user()
,Project.remove_user()
Examples
>>> interface.manage.users() ['list_of_users'] >>> interface.manage.users.firstname('nosetests') 'nose'
Methods
__call__
()Returns the list of all registered users on the server.
email
(login)Returns the email of the user.
firstname
(login)Returns the firstname of the user.
id
(login)Returns the id of the user.
lastname
(login)Returns the lastname of the user.
resources
()Returns the resources of the user.