Skip to end of metadata
Go to start of metadata

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


Will check if a specified User is scheduled currently or on a specified date/time.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.


system.user.isUserScheduled(user, date)

  • Parameters

User user - The user object to check the schedule for.

Date/Long date - The date to check schedules for. May be a Java Date or Unix Time in ms. If omitted, the current date and time will be used. [optional]

  • Returns

Bool - True if the user is scheduled for the specified date, False if not.

  • Scope


Code Examples
Code Snippet
# Print whether or not the user "oper1" is scheduled currently

user = system.user.getUser("", "oper1")
if system.user.isUserScheduled(user):
	print "oper1 is scheduled"
	print "oper1 is not scheduled"