Skip to main content
Participating Frequently
Dec 12, 2024 5:13 AM UTC
Question

replacement for isusermemberofallgroups function(People Function Plugin)

Hi,

Any replacement for isusermemberofallgroups function??as the people plugin doesnot contain this function for new version.

    1 reply

    New Participant
    Dec 12, 2024 6:23 AM UTC

    We can replace that using isUserMemberOfGroup() - The third parameter is matchAllGroups - When set to true, the function will check that the user is a member of all the groups.