PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Using a Public Folder as a Mailbox
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Using a Public Folder as a Mailbox
![]() |
Using a Public Folder as a Mailbox |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
All,
Is it possible to implement the functionality ( i.e setting the public folder as a mailbox : Article : http://www.msexchange.org/articles/MF021.html ) from a client side (VB) application. What we are trying to do is set all the permissions as shown in the article from client side. 1. Is it possible? 2. What will be an appropriate libaray? CDO? 3. Is it possible to use the Zip file in the page? Looking for pointers, samples... TIA, |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Sorry, I'm confused. How do you envision turning this into a "client side"
solution? The article provides instructions on how to configure Exchange to do all this for you. Or do you just want to automate setting permissions on a Public Folder? To do that, you need to use the ACL Component: http://msdn.microsoft.com/library/d...mcpnts_8f04.htm Also see this example for reading permissions: Accessing Public Folder Permissions Programmatically: http://blogs.officezealot.com/legau.../03/16/216.aspx -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "nkesu" wrote: > All, > > Is it possible to implement the functionality ( i.e setting the public > folder as a mailbox : Article : > http://www.msexchange.org/articles/MF021.html ) from a client side > (VB) application. > > What we are trying to do is set all the permissions as shown in the > article from client side. > > 1. Is it possible? > 2. What will be an appropriate libaray? CDO? > 3. Is it possible to use the Zip file in the page? > > Looking for pointers, samples... > > TIA, > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanks for the information.
We have a VB app which creates the public folders and assign an email id for each public folder. Right now exchange admin sets each public folder, created by the app, as a mail box. This admin process needs to be automated. That was the plan. Hope this answers your question. "Eric Legault [MVP - Outlook]" <elegaultZZZ@REMOVEZZZmvps.org> wrote in message news:<7D21FCA4-4029-40C4-A339-B2F7D335ED31@microsoft.com>... > Sorry, I'm confused. How do you envision turning this into a "client side" > solution? The article provides instructions on how to configure Exchange to > do all this for you. > > Or do you just want to automate setting permissions on a Public Folder? To > do that, you need to use the ACL Component: > > http://msdn.microsoft.com/library/d...mcpnts_8f04.htm > > Also see this example for reading permissions: > > Accessing Public Folder Permissions Programmatically: > http://blogs.officezealot.com/legau.../03/16/216.aspx > > -- > Eric Legault - B.A, MCP, MCSD, Outlook MVP > -------------------------------------------------- > {Private e-mails ignored} > Job: http://www.imaginets.com > Blog: http://blogs.officezealot.com/legault/ > > > "nkesu" wrote: > > > All, > > > > Is it possible to implement the functionality ( i.e setting the public > > folder as a mailbox : Article : > > http://www.msexchange.org/articles/MF021.html ) from a client side > > (VB) application. > > > > What we are trying to do is set all the permissions as shown in the > > article from client side. > > > > 1. Is it possible? > > 2. What will be an appropriate libaray? CDO? > > 3. Is it possible to use the Zip file in the page? > > > > Looking for pointers, samples... > > > > TIA, > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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/...&displaylang=en Also try the microsoft.public.exchange.development newsgroup. -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "nkesu" wrote: > Thanks for the information. > > We have a VB app which creates the public folders and assign an email > id for each public folder. Right now exchange admin sets each public > folder, created by the app, as a mail box. This admin process needs to > be automated. That was the plan. Hope this answers your question. > > "Eric Legault [MVP - Outlook]" <elegaultZZZ@REMOVEZZZmvps.org> wrote in message news:<7D21FCA4-4029-40C4-A339-B2F7D335ED31@microsoft.com>... > > Sorry, I'm confused. How do you envision turning this into a "client side" > > solution? The article provides instructions on how to configure Exchange to > > do all this for you. > > > > Or do you just want to automate setting permissions on a Public Folder? To > > do that, you need to use the ACL Component: > > > > http://msdn.microsoft.com/library/d...mcpnts_8f04.htm > > > > Also see this example for reading permissions: > > > > Accessing Public Folder Permissions Programmatically: > > http://blogs.officezealot.com/legau.../03/16/216.aspx > > > > -- > > Eric Legault - B.A, MCP, MCSD, Outlook MVP > > -------------------------------------------------- > > {Private e-mails ignored} > > Job: http://www.imaginets.com > > Blog: http://blogs.officezealot.com/legault/ > > > > > > "nkesu" wrote: > > > > > All, > > > > > > Is it possible to implement the functionality ( i.e setting the public > > > folder as a mailbox : Article : > > > http://www.msexchange.org/articles/MF021.html ) from a client side > > > (VB) application. > > > > > > What we are trying to do is set all the permissions as shown in the > > > article from client side. > > > > > > 1. Is it possible? > > > 2. What will be an appropriate libaray? CDO? > > > 3. Is it possible to use the Zip file in the page? > > > > > > Looking for pointers, samples... > > > > > > TIA, > > > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Eric,
Thanks for the information. After downloading the SDK, I went thro it and got stuck again. I am trying to follow the following samples from the SDK : 1. CreateUserURL and 2. CreateMailboxCDOPerson Questions: 1. Do I have to use the CreateUserURL? Why is this step necessary? CreateMailboxCDOPerson function 2. Is the CDO.Person, similar to CDO.Folder? Can I use the CDO.Folder instead of CDO.Person? 3. A string variable ("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") is used in the sample. Now, where do I get the same information in the exchange? Do I have to specify the whole string? 4. What is the significance of the 'ContainerName'? For a public folder, can I leave it blank or should I set it to 'All Public Folders'? 5. What should be the 'FirstName' and 'LastName' for a public folder? 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/...&displaylang=en > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Sorry, I only know CDOEXM at a high level and haven't played with it much.
As I said in my last post, your topic is more suited to the microsoft.public.exchange.development newsgroup; this forum is focused on Outlook VBA. -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "nkesu@hotmail.com" wrote: > Eric, > > Thanks for the information. After downloading the SDK, I went thro it > and got stuck again. > > I am trying to follow the following samples from the SDK : > 1. CreateUserURL and > 2. CreateMailboxCDOPerson > > Questions: > 1. Do I have to use the CreateUserURL? Why is this step necessary? > > CreateMailboxCDOPerson function > > 2. Is the CDO.Person, similar to CDO.Folder? Can I use the CDO.Folder > instead of CDO.Person? > > 3. A string variable ("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") is used in the sample. Now, where > do I get the same information in the exchange? Do I have to specify the > whole string? > > 4. What is the significance of the 'ContainerName'? For a public > folder, can I leave it blank or should I set it to 'All Public > Folders'? > > 5. What should be the 'FirstName' and 'LastName' for a public folder? > > 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/...&displaylang=en > > > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
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/...&displaylang=en |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

