Skip to main content
Version: 8.1

system.user.getUsers

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 restrictions.

Syntax

system.user.getUsers(userSource)

Parameters

TypeParameterDescription
StringuserSourceThe name of the user source to find the users in.

Returns

List - A List of User objects.

Scope

Gateway, Vision Client, Perspective Session

Code Examples

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)