Skip to main content
Version: V2 (Ignition 8.1)

system.mes.personnel.getAllPeople

Description​

Retrieves a list of all Person records in the system.

Permissions​

This method requires the PERSONNEL.READ.GET permission.

Syntax​

system.mes.personnel.getAllPeople()

Parameters​

ParameterTypeDescription
None-This method does not take any parameters.

Returns​

Returns a list of JSON objects representing all people.

Code Examples​

# Retrieve all people
allPeople = system.mes.personnel.getAllPeople()

# Output the list of people
print(allPeople)