Hey Guys,
For one of our in house onJobCompletion event email we want to get the list of all the users from the “Notification users” settings for the job and then look for each individual users preferences for receiving the emails based on which we email them. But when using Deadlines UserInfo class its not returning the correct values for the user based notifications,
from Deadline.Users import *
usr = UserInfo(my_name)
print usr.EmailNotification
print usr.UserEmailNotification
print usr.get_UserEmailNotification()
all these things returns “False” even when i have turned on the Job notification emails for my own account in Deadline monitor.
Can some one tell me what im doing wrong here.
~Abhijeet