Skip to main content
Version: 8.1

system.user.getUserSources

This function is used in Python Scripting.

New in 8.1.15

Description​

Returns a sequence of objects representing all of the user source profiles configured in the Gateway. Each object has a "name" property, a "description" property, and a "type" property.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.user.getUserSources()

Parameters​

None

Returns​

List - A List of all user source profiles configured in the system in ascending order by their names.

Scope​

Gateway, Vision Client, Perspective Session

UserSource Object​

Each UserSource returned represents an object with the following properties:

  • name
  • description
  • type

Code Examples​

Example #1
uList = system.user.getUserSources()
print len(uList)