Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Exchange Mailbox

Status
Not open for further replies.

mrjarboe

Programmer
Jul 20, 2001
3
0
0
US
I am working with LDAP to create a mailbox, but I cant seem to get the right combination of parameters on the createmailbox call. The following code always returns...

"Object doesn't support this property or method"

Any help or insight would be greatly appreciated.


Code:
    Set adUser = GetObject("LDAP://CN=testusermitch,CN=users,DC=FamilyCentral,DC=org")
    adUser.Put "samAccountName", "testusermitch"
    adUser.SetInfo
    adUser.CreateMailbox "LDAP://FamilyCentral/" + _
         "DC=FamilyCentral,DC=org" + _
         ",CN=First Storage Group" + _
         ",CN=Family Central Mailbox Store (HAL)"
    adUser.SetInfo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top