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
Solved! Go to Solution.
Karsten,
The method getGroups returns a deferred too.