Re: Set public folder permissions?
- From: "Stefan Nielsen" <stef@xxxxxxxxxxxxx>
- Date: Thu, 5 May 2005 13:37:36 +0200
The .vb script is run on the desktop logged in as a administrator with
Remote Desktop. If you have an example script, on how to set permissions on
a public folder this would also help.
"Tom Rizzo [MSFT]" <thomriz@xxxxxxxxxxxxx> skrev i en meddelelse
news:OgtwXeTUFHA.612@xxxxxxxxxxxxxxxxxxxxxxx
> How are you authenticating against the server in your app? Is this a
> windows app, web app, service app, something else?
>
> Tom
>
> --
> Looking for a good book on programming Exchange, Outlook, ADSI and
> SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> "Stefan Nielsen" <stef@xxxxxxxxxxxxx> wrote in message
> news:Oabj9a8TFHA.3188@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I'm trying to set permissions on a public folder in my exchange setup.
>> I have come up with this code, inspired by the code on
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchserv/html/comclasses_1stv.asp
>>
>> set session = CreateObject("MAPI.session") session.logon "", "", false,
>> true, true, true, "EXCHBE01" & vbLF & "alias"
>> wscript.echo "Logged in"
>>
>> Set store = session.infostores.item("Public Folders") wscript.echo "Got
>> infostore 2"
>>
>> Set allfolders =
>> session.getFolder(store.fields(&h66310102),store.id).Folders
>> wscript.echo "Got folders"
>>
>> The problem is that the session.getFolder line fails with:
>>
>> [Collaboration Data Objects -
>> [MAPI_E_LOGON_FAILED(80040111)]]
>>
>> Right after it echos "Got infostore 2"
>>
>>
>> Any ideas?
>>
>> Stefan
>>
>
>
.
- References:
- Set public folder permissions?
- From: Stefan Nielsen
- Re: Set public folder permissions?
- From: Tom Rizzo [MSFT]
- Set public folder permissions?
- Prev by Date: Re: WebDAV GET method in VBScript
- Next by Date: Re: Enumerate/create mailbox folders
- Previous by thread: Re: Set public folder permissions?
- Next by thread: Mass update calendar permissions and appointment details
- Index(es):
Relevant Pages
|