Re: Set public folder permissions?



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
>


.



Relevant Pages

  • RE: Terminal Services Permissions
    ... This way, when they close the app, the ... > We have a W2K3 server which is also a Domain Controller running> terminal services. ... I am trying to allow remote desktop users access> to the system but only want them to access a couple of applications> and not allow them access to the entire directory structure. ... > Or will I have to go through each folder and set permissions? ...
    (microsoft.public.windows.server.active_directory)
  • Re: Set public folder permissions?
    ... If you have an example script, on how to set permissions on ... > How are you authenticating against the server in your app? ... >> I'm trying to set permissions on a public folder in my exchange setup. ...
    (microsoft.public.exchange.development)
  • Macro Security on Runtime
    ... I've packaged an app and installed it on a machine. ... Dev. ... They cannot however set permissions to allow VB to run ... Max Tyler ...
    (microsoft.public.access.developers.toolkitode)
  • Re: Using a Public Folder as a Mailbox
    ... We have a VB app which creates the public folders and assign an email ... Right now exchange admin sets each public ... > Or do you just want to automate setting permissions on a Public Folder? ...
    (microsoft.public.outlook.program_vba)
  • VB.NET and Outlook 2003
    ... I've written a VB.NET application that monitors a public folder ... The public folder is for users to send emails to the ... This app looks through the messages and for any that are NOT ... FlagStatus property. ...
    (microsoft.public.dotnet.languages.vb)