Eric,
Thanks for the information. I downloaded the SDK and looked the sample
scripts and got confused.
I found IMailboxStore.CreateMailbox method from the SDK. However, I am
not sure how to proceed.
Example from SDK : ( if you have the SDK search for the following
function)
Sub CreateMailboxCDOPerson(strFirstName As String, _
strLastName As String, _
strHomeMDBUrl As String)
' strHomeMDBUrl should look like this
' strHomeMDBUrl = "CN=Mailbox Store (MYSTORE),CN=First Storage Group,
' CN=InformationStore,CN=MYSTORE,CN=Servers,
' CN=First Administrative Group,CN=Administrative
Groups,
' CN=IASI,CN=Microsoft
Exchange,CN=Services,CN=Configuration,
' DC=mydomain,DC=fourthcoffee,DC=com"
Questions:
1. Now, where do I get the strHomeMDBURL ( from exchange)? Do I have to
specify the whole string? i.e from the 'com' level?
2. Since I am have to work on a folder, rather than a person, what
should I set for the FirstName and LastName.
3. There is a 'ContainerName' in the function. For a public folder,
what should be the container name? Is it 'All Public Folders'?
strContainerName = "Users"
' Create a URL for the user.
CreateUserURL strURL, strContainerName, False, strUserName
4. Do I have to create a url for the folder? why is it required?
Looking for guidance again.
Thanks
Eric Legault [MVP - Outlook] wrote:
> Ah, okay. You would need to use the CDOEXM API to modify the folder
> properties, but use ACL for permissions. Full info is in the SDK:
>
> Download details: Exchange 2003 SDK Documentation and Samples March
2004:
>
http://www.microsoft.com/downloads/d...displaylang=en