Hi all,

Recently we updated the RelationshipTO class to return the "other" end of
the relationship. I'm wondering if it's possible (or desirable) to try and
do something similar with memberships?

As a motivating use-case, take seeing how many users are members of a
particular group. It's not possible to do it via the group REST API (unless
I'm mistaken, please correct me if it is possible), but by querying the
users REST API with (for example) $groups==employees.

Let's say we want to get a list of all of the group names in Syncope, with
a corresponding user membership count. We have to get the groups, then find
the count of users in each group, which is not very efficient.

I'm guessing listing the users who are members of the group in a call to
GET a given group could result in a massive response. But perhaps we could
include a simple count in GroupTO representing the current static and
dynamic users who are members of the given group at that point in time?

Colm.

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to