Skip to main content
December 12, 2024
Question

replacement for isusermemberofallgroups function(People Function Plugin)

  • December 12, 2024
  • 1 reply
  • 0 views

Hi,

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

    1 reply

    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.