PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Change folder names of all users
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Change folder names of all users
![]() |
Change folder names of all users |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I tried the following to rename a given user's folder name but I get a
permissions error (althought I have all the required permissions to access all mailboxes). Set myOlApp= CreateObject ("Outlook.Application") Set mynamespace = myOlApp.Getnamespace("MAPI") Set myRecipient = myNamespace.CreateRecipient("usernameXXX") myRecipient.Resolve mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = "newNameXXX" Any ideas? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Are you positive you have full Editor permissions on the user's folder via
the Delegates tab in Tools -> Options? Also, if you are a member of the Exchange Administrators group, by default you do *not* have read nor write permissions to other user's mailboxes. -- Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Gaspar" wrote: > I tried the following to rename a given user's folder name but I get a > permissions error (althought I have all the required permissions to access > all mailboxes). > > Set myOlApp= CreateObject ("Outlook.Application") > Set mynamespace = myOlApp.Getnamespace("MAPI") > Set myRecipient = myNamespace.CreateRecipient("usernameXXX") > myRecipient.Resolve > mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = > "newNameXXX" > > Any ideas? > > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
I suspect that Owner permission is needed to change a folder name.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Eric Legault [MVP - Outlook]" <elegaultZZZ@REMOVEZZZmvps.org> wrote in message news:665CED58-C362-4F18-8685-FEF6D986E7FA@microsoft.com... > Are you positive you have full Editor permissions on the user's folder via > the Delegates tab in Tools -> Options? Also, if you are a member of the > Exchange Administrators group, by default you do *not* have read nor write > permissions to other user's mailboxes. > > -- > Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) > Try Picture Attachments Wizard for Outlook: > http://www.collaborativeinnovations.ca > Blog: http://blogs.officezealot.com/legault/ > > > "Gaspar" wrote: > >> I tried the following to rename a given user's folder name but I get a >> permissions error (althought I have all the required permissions to access >> all mailboxes). >> >> Set myOlApp= CreateObject ("Outlook.Application") >> Set mynamespace = myOlApp.Getnamespace("MAPI") >> Set myRecipient = myNamespace.CreateRecipient("usernameXXX") >> myRecipient.Resolve >> mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = >> "newNameXXX" >> >> Any ideas? >> >> >> |
|
|
|
#4 |
|
Guest
Posts: n/a
|
No, there is some way to do it because I tested applications that can do
this. I just want to figure out how. Thanks "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:uppSB3IRGHA.424@TK2MSFTNGP12.phx.gbl... I suspect that Owner permission is needed to change a folder name. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Eric Legault [MVP - Outlook]" <elegaultZZZ@REMOVEZZZmvps.org> wrote in message news:665CED58-C362-4F18-8685-FEF6D986E7FA@microsoft.com... > Are you positive you have full Editor permissions on the user's folder via > the Delegates tab in Tools -> Options? Also, if you are a member of the > Exchange Administrators group, by default you do *not* have read nor write > permissions to other user's mailboxes. > > -- > Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) > Try Picture Attachments Wizard for Outlook: > http://www.collaborativeinnovations.ca > Blog: http://blogs.officezealot.com/legault/ > > > "Gaspar" wrote: > >> I tried the following to rename a given user's folder name but I get a >> permissions error (althought I have all the required permissions to >> access >> all mailboxes). >> >> Set myOlApp= CreateObject ("Outlook.Application") >> Set mynamespace = myOlApp.Getnamespace("MAPI") >> Set myRecipient = myNamespace.CreateRecipient("usernameXXX") >> myRecipient.Resolve >> mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = >> "newNameXXX" >> >> Any ideas? >> >> >> |
|
|
|
#5 |
|
Guest
Posts: n/a
|
> Are you positive you have full Editor permissions on the user's folder via
> the Delegates tab in Tools -> Options? Also, if you are a member of the > Exchange Administrators group, by default you do *not* have read nor write > permissions to other user's mailboxes. I followed the Exchange instructions and I created a new group (which I belong) with the SEND AS and RECEIVE AS permissions. Is that enough? I don't know where "the Delegates tab in Tools -> Options" is. Gimme a clue. Thanks! > > -- > Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) > Try Picture Attachments Wizard for Outlook: > http://www.collaborativeinnovations.ca > Blog: http://blogs.officezealot.com/legault/ > > > "Gaspar" wrote: > >> I tried the following to rename a given user's folder name but I get a >> permissions error (althought I have all the required permissions to >> access >> all mailboxes). >> >> Set myOlApp= CreateObject ("Outlook.Application") >> Set mynamespace = myOlApp.Getnamespace("MAPI") >> Set myRecipient = myNamespace.CreateRecipient("usernameXXX") >> myRecipient.Resolve >> mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = >> "newNameXXX" >> >> Any ideas? >> >> >> |
|
|
|
#6 |
|
Guest
Posts: n/a
|
> I followed the Exchange instructions and I created a new group (which I
> belong) with the SEND AS and RECEIVE AS permissions. Is that enough? I don't know what "Exchange instructions" you might be referring to. > I don't know where "the Delegates tab in Tools -> Options" is. Gimme a clue. In Outlook, click Tools, then Options, the look for the Delegates tab. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Gaspar" <gaspar@gaspar.com> wrote in message news:ezAhe%231RGHA.2088@TK2MSFTNGP14.phx.gbl... >> Are you positive you have full Editor permissions on the user's folder via >> the Delegates tab in Tools -> Options? Also, if you are a member of the >> Exchange Administrators group, by default you do *not* have read nor write >> permissions to other user's mailboxes. > > I followed the Exchange instructions and I created a new group (which I > belong) with the SEND AS and RECEIVE AS permissions. Is that enough? > > I don't know where "the Delegates tab in Tools -> Options" is. Gimme a clue. > > Thanks! > >> >> "Gaspar" wrote: >> >>> I tried the following to rename a given user's folder name but I get a >>> permissions error (althought I have all the required permissions to >>> access >>> all mailboxes). >>> >>> Set myOlApp= CreateObject ("Outlook.Application") >>> Set mynamespace = myOlApp.Getnamespace("MAPI") >>> Set myRecipient = myNamespace.CreateRecipient("usernameXXX") >>> myRecipient.Resolve >>> mynamespace.GetSharedDefaultFolder(myRecipient, olfolderCalendar).Name = >>> "newNameXXX" >>> >>> Any ideas? >>> >>> >>> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

