Skip to main content
Participating Frequently
December 12, 2024
Question

replacement for isusermemberofallgroups function(People Function Plugin)

  • December 12, 2024
  • 1 reply
  • 7 views

Hi,

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

    1 reply

    New Participant
    December 12, 2024

    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.