Server side VBScript (ASP)

This code can be found in Chapter 28 of Active Directory, 3rd Edition

Purchase XP Cookbook or Networking Recipes for only $25 plus shipping! While supplies last.

Find out how to download all of the ASP code from this site.

<SCRIPT LANGUAGE="VBScript" RUNAT="SERVER"> 
Set objGroup = GetObject("LDAP://cn=Managers,ou=Sales," _
  & "dc=mycorp,dc=com")

  Response.Write objGroup.Description
</SCRIPT>

This code has been viewed 2162 times.

New from the creators of TechTasks.com: StatSheet.com