NetXMS Support Forum

English Support => General Support => Topic started by: suphu on November 21, 2019, 05:17:06 PM

Title: How to get UserDBObject from id in nxsl script
Post by: suphu on November 21, 2019, 05:17:06 PM
Hi,

Current version is 2.2.13 for Windows.  I am retrieving $node->alarms and wish to resolve alarm->ackBy and alarm->resolvedBy to fullName of user.  It appears the UserDBObject Class has this info, I just can't find how to get an instance.

Thanks.
Title: Re: How to get UserDBObject from id in nxsl script
Post by: Victor Kirhenshtein on November 22, 2019, 01:33:23 PM
Hi,

turns out that there is no way to get this object from NXSL. I'll add lookup functions in next release.

Best regards,
Victor
Title: Re: How to get UserDBObject from id in nxsl script
Post by: suphu on December 04, 2020, 09:22:43 PM
Hi,

Has this functionality been added to 3.x line?

Thanks.