code to query active directory

Does anyone have any code to query active directory via an ASP classic application. Basically, I want the application to verify that the user is logged into the network, and simply return the username they are using. This is done on a single signon network, so there is no interaction with the end user.

if you were using .NET 2.0 and Visual Studio 2005 you could generate a managed class from the Active Directory WMI provider to easily access the AD schema.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.