Is there any way to get a device's IP address using SOTI's Javascript API? When I call the below function from within the API, I get back "undefined", but getting the same info using the %HOSTNAME% macro using legacy scripting returns an IP, is there anything I'm doing wrong here?
var ip = mobicontrol.network.IpAddress.hostName;mobicontrol.log.info(""+ip);