--- title: "system.user.getUsers" description: "Retrieves the list of users in a specific user source." --- # system.user.getUsers > Retrieves the list of users in a specific user source. This function is used in **Python Scripting**. ## Description Retrieves the list of users in a specific user source. The "User" objects that are returned contain all of the information about that user, except for the user's password. ## Client Permission Restrictions This scripting function has no [Client Permission](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.user.getUsers(userSource)` ### Parameters Type | Parameter | Description ------- | ------- | ------ String | `userSource` | The name of the user source to find the users in. ### Returns **List** - A List of [User](appendix\reference-pages\scripting-object-reference\scripting-object-reference.md#users) objects. ### Scope Gateway, Vision Client, Perspective Session ## Code Examples ```python title="Example #1" # This example will print the first and last name of all users, using the default datasource: users = system.user.getUsers("") for user in users: print user.get(user.FirstName) + " " + user.get(user.LastName) ```