Roster Management Component

What you are looking for is the filterRoster Extension Function. If you right click and select scripting you will find the available Extension Functions.