PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Change folder names of all users

Reply

Change folder names of all users

 
Thread Tools Rate Thread
Old 10-03-2006, 07:55 PM   #1
Gaspar
Guest
 
Posts: n/a
Default Change folder names of all users


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?


  Reply With Quote
Old 10-03-2006, 08:57 PM   #2
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
 
Posts: n/a
Default RE: Change folder names of all users

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

  Reply With Quote
Old 10-03-2006, 09:54 PM   #3
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Change folder names of all users

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

  Reply With Quote
Old 14-03-2006, 12:01 PM   #4
Gaspar
Guest
 
Posts: n/a
Default Re: Change folder names of all users

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



  Reply With Quote
Old 14-03-2006, 12:02 PM   #5
Gaspar
Guest
 
Posts: n/a
Default Re: Change folder names of all users

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



  Reply With Quote
Old 27-03-2006, 11:40 PM   #6
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Change folder names of all users

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

>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off