devxlogo

Execute ADSI Calls From an Anonymous ASP Page

Execute ADSI Calls From an Anonymous ASP Page

If you’re like me, and sometimes need to modify Active Directory data from an ASP page where the user is either anonymous, or doesn’t have admin privileges, you need a way to run the code in an admin context. Simply take your ADSI code out of the ASP page and put it in a COM DLL. Then, you can run that DLL in MTS/COM+ under an admin account. Voila! You’re all set.

devx-admin

Share the Post: