![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I am wanting to automatically create mailbox folders and set permissions on
the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#2
|
|||
|
|||
![]()
The folder permissions are not exposed in the Outlook object model. You
could use ADSI code to do that, or you could use CDO 1.21 code with the ACL.dll component. See http://www.outlookcode.com/archive0/d/exstech.htm for more information. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#3
|
|||
|
|||
![]()
Thanks for your quick response, Ken. I visited your web site. It appears
that you have significant programming experience in both Outlook and Exchange. My company is trying to identify an email archive solution for our Exchange 2003 system. We may be looking for someone to help us with some custom programming of Outlook and\or Exchange to integrate with the available archive solutions out there. Would you be interested in doing some contract work for us? "Ken Slovak - [MVP - Outlook]" wrote: The folder permissions are not exposed in the Outlook object model. You could use ADSI code to do that, or you could use CDO 1.21 code with the ACL.dll component. See http://www.outlookcode.com/archive0/d/exstech.htm for more information. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#4
|
|||
|
|||
![]()
I do consulting work, but the newsgroup isn't an appropriate place to
discuss that. You can contact me off list about your project requirements. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Midwest Muskie" wrote in message ... Thanks for your quick response, Ken. I visited your web site. It appears that you have significant programming experience in both Outlook and Exchange. My company is trying to identify an email archive solution for our Exchange 2003 system. We may be looking for someone to help us with some custom programming of Outlook and\or Exchange to integrate with the available archive solutions out there. Would you be interested in doing some contract work for us? |
#5
|
|||
|
|||
![]()
I agree, and will be in touch.
Thanks, Mike "Ken Slovak - [MVP - Outlook]" wrote: I do consulting work, but the newsgroup isn't an appropriate place to discuss that. You can contact me off list about your project requirements. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Midwest Muskie" wrote in message ... Thanks for your quick response, Ken. I visited your web site. It appears that you have significant programming experience in both Outlook and Exchange. My company is trying to identify an email archive solution for our Exchange 2003 system. We may be looking for someone to help us with some custom programming of Outlook and\or Exchange to integrate with the available archive solutions out there. Would you be interested in doing some contract work for us? |
#6
|
|||
|
|||
![]()
plug
You can also do that with Redemption - RDOFolder.ACL: http://www.dimastr.com/redemption/rdo/RDOFolder.htm /plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#7
|
|||
|
|||
![]()
Thank you for your reply, Dmitry. Is the redemption.dll file installed by
default with an Outlook install? That is, should all of my Outlook users be able to run this script? Can I set permissions with Redemption? When I run the following script: set Session = CreateObject("Redemption.RDOSession") Session.Logon set Folder = Session.GetDefaultFolder(olFolderCalendar) for each ACE in Folder.ACL Debug.Print ACE.Name & " - " & ACE.Rights next It generates the following error at the set Folder statement: Unexpected default folder kind: 0 Any thoughts?? Thanks again, Mike "Dmitry Streblechenko" wrote: plug You can also do that with Redemption - RDOFolder.ACL: http://www.dimastr.com/redemption/rdo/RDOFolder.htm /plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#8
|
|||
|
|||
![]()
Where does yopur cod run? Did you add Outlook ior Reemption to the projetc
reefrences? Otherwise olFolderCalendar is not defined and VB defaults it to 0. |
#9
|
|||
|
|||
![]()
I just looked a little closer at your web page. It appears that Redemption
is a product that you sell. I have a redemption.dll file in my system32 folder. How is that one different from the one you market? Thanks, Mike "Dmitry Streblechenko" wrote: plug You can also do that with Redemption - RDOFolder.ACL: http://www.dimastr.com/redemption/rdo/RDOFolder.htm /plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
#10
|
|||
|
|||
![]()
It might not be. If you have a product installed that uses Redemption, it
will be on your system. Even if System32 is probably not the best folder to install anything to. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Midwest Muskie" wrote in message ... I just looked a little closer at your web page. It appears that Redemption is a product that you sell. I have a redemption.dll file in my system32 folder. How is that one different from the one you market? Thanks, Mike "Dmitry Streblechenko" wrote: plug You can also do that with Redemption - RDOFolder.ACL: http://www.dimastr.com/redemption/rdo/RDOFolder.htm /plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Midwest Muskie" wrote in message ... I am wanting to automatically create mailbox folders and set permissions on the folders using a script (preferably vbscript). I've figured out how to create the folders, but can't figure out how to set permissions. Also, how can I direct the script to use a particular Outlook profile (not have me select one)? Thanks for any help you can provilde. Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 - Granting Folder Permissions | DeeW | Outlook - General Queries | 1 | August 23rd 07 04:28 PM |
Can I propagate Outlook folder permissions to subfolders? | Midwest Muskie | Outlook - Installation | 0 | July 12th 07 03:26 PM |
Access permissions on folder. Owner cannot grant permissions | lmeyer | Outlook - Installation | 0 | June 14th 06 11:06 AM |
Outlook crashes by applying folder view with Vbscript Write_Event | [email protected] | Outlook - Using Forms | 0 | June 12th 06 04:57 PM |
Outlook automatic folder categorization with shifting of the whole correspondence into the new built subfolder - VBScript needed | Michael Bauer | Outlook and VBA | 0 | January 9th 06 07:00 AM |