I am going to assign the user group to some virtual variable. I've found this function in Visuals getUserData(key [, lookupIn]) and trying to extract the group from current logined user: const im = shmi.requires("visuals.session.UserManager");
let a = im.getUserData('group');
console.log(a); But, I've got null as a result. What I am doing wrong, maybe someone has code example?
... View more