system.user.getUserSources
This function is used in Python Scripting.
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)