I was asked by a client this morning if it was possible to EDIT a Distribution List on Exchange 2000. I can use LDAP with ADSI to get the users of a DL with this;
strADOQueryString = "<LDAP://" & strExcSrv & ">;(&(objectClass=groupOfNames)(cn=" & StrDistListName & "));*"
Set objRS = ADOconn.Execute(bstrADOQueryString)
'create distribution list object from the first field of the array
Set objObject = GetObject(objRS.Fields(0))
'member is a multiple valued field
objMembers = objObject.GetEx("member")
But what about Adding or Deleting members of the DL with ASP?