To get the current user, try this:

        User user = MgnlContext.getUser();

Then you can get a Collection of the user's groups:

        Collection groups = user.getGroups();

I hope this helps.

Frank

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to