RT 5.0.6 Documentation

RT::CachedGroupMembers

Go to latest version →

NAME

  RT::CachedGroupMembers - a collection of RT::GroupMember objects

SYNOPSIS

  use RT::CachedGroupMembers;

DESCRIPTION

METHODS

LimitToUsers

Limits this search object to users who are members of this group This is really useful when you want to have your UI separate out groups from users for display purposes

LimitToGroups

Limits this search object to Groups who are members of this group This is really useful when you want to have your UI separate out groups from users for display purposes

LimitToMembersOfGroup PRINCIPAL_ID

Takes a Principal Id as its only argument. Limits the current search principals which are _directly_ members of the group which has PRINCIPAL_ID as its principal id.

LimitToGroupsWithMember PRINCIPAL_ID

Takes a Principal Id as its only argument. Limits the current search to groups which contain PRINCIPAL_ID as a member or submember. This function gets used by GroupMember->Create to populate subgroups

← Back to index