How do I detect if my program runs in an Active Directory environment?

I'm using C# and .Net 2.0

Edit
Report