Contents
Strategic Partner Links
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
Will check if a specified User is scheduled currently or on a specified date/time.
This scripting function has no Client Permission restrictions.
system.user.isUserScheduled(user, date)
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]
Bool - True if the user is scheduled for the specified date, False if not.
All
# Print whether or not the user "oper1" is scheduled currently user = system.user.getUser("", "oper1") if system.user.isUserScheduled(user): print "oper1 is scheduled" else: print "oper1 is not scheduled"