Is there any way to find users who are only direct members of that group, not ad

Is there any way to find users who are only direct members of that group, not added from a child group?

OriginalPostID-215358

OriginalPostID-215358

  Discussion posts and replies are publicly visible

Parents Reply
  • As suggested , I am using fn!getDirectGroupMemberUsersPaging() to get the direct members . But in my case I have around 80K users available in a group . If I try to use this function to check a users direct membership It takes more time to retrieve the result as the number of users is huge in numbers. Also I have more group for which i have to run this function to check whether the user is a direct member. Did anyone have faced similar issue and came up with any alternates.

    contains(
    touniformstring(
    fn!getdirectgroupmemberuserspaging(
    getgroupbyname(ri!groupName),
    0,
    - 1
    )
    ),
    ri!userName
    ))
Children
No Data