cancel
Showing results for 
Search instead for 
Did you mean: 

how to query membership

daifengwei
Champ in-the-making
Champ in-the-making
hello experts,

i couldn't find any method in "IdentityService" to query membership. how to know if an user is already a member of a group?

please advise

many thanks
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
UserQuery#memberOfGroup does this. Via the IdentityService you create a UserQuery.

daifengwei
Champ in-the-making
Champ in-the-making
thanks a lot.