AnsweredAssumed Answered

Acess to system group of a user

Question asked by sue on Jun 17, 2016
Latest reply on Jun 23, 2016 by niketapatel
Hello,

My objectif is find out if a user is a MANAGER in any site.

So it got to me that I can access it by system groups, because for every site there is 4 groups:

site_[site_name]_SiteCollaborator
site_[site_name]_SiteConsumer
site_[site_name]_SiteContributor
site_[site_name]_SiteManager

I want to know if the user is in any SiteManager group, something like:

if(user.properties["alfUserGroups"].indexOf("SITE_MANAGERS") != -1))

but this one works with normal groups

Can anyone help me out please?

It's urgent >_<

Outcomes