User Activity

Can anyone help me how to filter only specific IDs from the group of messages