DNG javascripting - practical example of using RM.Data.getCurrentUser ?
Hi all
Using 6.0.6.1,
// Report the ID of the current user reportUserId = function() { RM.Data.getCurrentUser(function(result.data) { if (result.data) { report('Current user is: ' + result.data.userId); } else { error('Unable to determine current user.'); } }); };
So, where does "result" come from?
Working example, anyone?
thanks,
Steve