• Emile

    (@emile-de-bruijn)


    Hi,

    I am using the UAM plugin to be able to generate 3 intranets for 3 department, where some pages are shared and some are only accessible for certain groups. It’s great the main navigation is generated per group, so it’s working perfect!

    The next step I am trying to do do is redirect the 3 groups to their own hompepage. To do so, I have written a ‘redirect plugin’, but I haven’t managed to get the user groups a user is part of. Who can help?

    $oUamAccessHandler shows all groups and connected objects, but how can I get the groups from a certain user (the one logged in at that moment).

    Thanks!

    https://ww.wp.xz.cn/plugins/user-access-manager/

The topic ‘How to get the users groups’ is closed to new replies.