Check group membership with isMember
Last modified by Vincent Massol on 2026/11/13 21:59
The new GroupManager#isMember(member, group, recurse) API and the matching $services.user.group.isMember script service check whether a user or group is a member of a group, without listing the members of the group. They replace User#isUserInGroup, which is now deprecated. See the User API documentation.