Re: Set public folder permissions?
- From: "Tom Rizzo [MSFT]" <thomriz@xxxxxxxxxxxxx>
- Date: Wed, 4 May 2005 22:59:33 -0700
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
>
.
- Follow-Ups:
- Re: Set public folder permissions?
- From: Stefan Nielsen
- Re: Set public folder permissions?
- References:
- Set public folder permissions?
- From: Stefan Nielsen
- Set public folder permissions?
- Prev by Date: Re: Async Event Sink problem
- Next by Date: Re: WebDAV GET method in VBScript
- Previous by thread: Set public folder permissions?
- Next by thread: Re: Set public folder permissions?
- Index(es):
Relevant Pages
|