AnsweredAssumed Answered

Getting groups from logged in user in portal

Question asked by krank42 on Jan 8, 2018
Latest reply on Jan 8, 2018 by rscheitlin

Hi there,

I try to get all groups from logged in user of Portal.

 

portal.signIn().then(function (loggedInUser) {     
var myArray = [];     
myArray = loggedInUser.getGroups;          
})

The user (normal user) is member in two groups, but the result I get is 0.

 

Thanks for your help,

 

Karsten

Outcomes