Make use of sid_check_is_in_unix_users/groups