I have this targetPageParamsAll() in the AEM page which would return the
user groups as an array.targetPageParamsAll = function() { var
userGroups = "everyone,test1,test2,beta1"; var userGroups =
userGroups.split(","); return { "userGroups": userGroups } }; Attaching
a screenshot on the available mbox parameter w.r.t userGroups below, My
requirement is to check whether the user belongs to a certain group and
return that group name from the script. With the above highlighted,
would I need to chec...