This sample shows how an administrator can control which users can and cannot communicate using the instant messaging facilities of the Microsoft Office Communications Server 2007. This sample allows the administrator to place users into Organizational Units in Active Directory and to configure the sample to block communications between members of the different Organizational Units.
Download it
here.