Get groups where attribute

Hello!

I'm trying to create a list of groups for an application.

What I am hoping to do is have an interface where I select a user and application then I get presented a list of groups in that application (groups will hold an attribute linked with a specific application) - I will then use ismemberUserOfGroup() to have two lists one which displays which groups the user is a member of and one which the user is not a member of.

For example:

User - John.Smith 
Application - RandomApplicationTest
(Attribute in groups to filter groups RAT)

Available Groups                                                                          Member Of
Admin                                                                                           Read Only 
User
SuperUser

So an Admin could look up a user see what groups they are a member of and add or remove the user to groups.

The first part i need to find is how do I create a list of groups for an application which I can then update/filter etc.

As always Thank you!!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data