Hi Gatein Team,
After we login to Gatein portal we want to retrieve the Users Groups that are assigned ... ie isMemberOF We want our new portlet to make use of the available groups to then show content or not.
For example
isMemberOF "Gold" show the gold button else
isMemberOF "Silver" show the silver button else
isMemberOF "Bronze" show the bronze button else
show the all button else
Im thinking that our portlet needs to extent organization (assuming we enter these groups under organization) but not sure.
OR
We implement a groups portlet and pass the data from that to other portlet through Inter Portlet Communications - IPC ??
Thoughts?
I guess that you can invoke findGroupsOfUser(String user) method which was defined in GroupHandler