Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
I am having trouble with some methods of the User objects (6.6), from the mentor.axeda.com site the following methods work ok:
ID(u.getId())
Userneme(u.getUsername())
Name(u.getFullName())
Admin(u.isAdmin())
Active(u.isActive())
Email(u.getEmailAddresses())
TimeZone(u.getTimezone())
However these methods throw exceptions:
LastLogon(u.getLastLogon())
PhoneNumber(u.getPhoneNumber())
API(u.isApiOnly())
I wonder if i have done anything wrong here, or if these aren't yet implemented?
Thanks,
Alan
Short answer - for this I'd file a support ticket. I expect these all to function. if they are not functioning for you I'd ask you to contact the support team with your exact issues. They are all tested by our code but it might be that you have some data in that user causing an issue and we'd need to look at your specific case.
Thanks Clint!
Will open a case to investigate,
Alan