Yes, Rainbow Six Vegas 2 does feature online play. The game includes robust multiplayer modes where you can team up with others in tactical shooters, both cooperatively and competitively.
It's one of the aspects that helped the game stay popular, offering plenty of replay value beyond the single-player campaign.