Change folder names of all users

G

Gaspar

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?
 
E

Eric Legault [MVP - Outlook]

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.
 
S

Sue Mosher [MVP-Outlook]

I suspect that Owner permission is needed to change a folder name.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Gaspar

No, there is some way to do it because I tested applications that can do
this.
I just want to figure out how.

Thanks

I suspect that Owner permission is needed to change a folder name.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Gaspar

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!
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top