This function is used in Python Scripting.
The following feature is new in Ignition version 8.1.15
Click here to check out the other new features

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
Code Snippet
uList = system.user.getUserSources()
print len(uList)
Keywords

system user getUserSources, user.getUserSources