I am using the user

Hi,
I am using the user sync plugin to update site B when a new user is added to site A.

Is it possible to add a function to site A to only sync when certain conditions are met. i.e a specific user role (author rather than a subscriber). Or can a function be added to site B to delete a user if certain conditions are met (i.e the role of the user is not an author).

Thanks