Modifying properties on exchange 5.5 objects is straight forward once you have the DN to bind to the object. That is the most difficutl thing to find.
Once you have the LDAP ADsPath to the object, you can use IADsOpenDsObject::OpenDsObject to bind to the object in the directory using appropriate
set oPrv = GetObject("LDAP:")
set oRecip = oPrv.OpenDsObject("LDAP://EXCHANGE_SERVER/cn=JonDo,cn=Recipients,ou=MyDomain,o=Microsoft", "DOMAIN\USERID",
At this point you can modify any property available to you on the object. You can look at the Exchange 5.5 admin tool in raw mode to view availble properties.
To set a property you would use the IADs::Put for single valued properties or the IADs::PutEx for multivalued properties.
To push the changes to the Exchange 5.5 server, you would call the IADs::SetInfo method. This method flushes the ADSI property cache and saves the
changes to the Exchange 5.5 server.
Max Vaughn [MS]
Microsoft Developer Support
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.