Programatically modifing exchange permissions - Microsoft Exchange

This is a discussion on Programatically modifing exchange permissions - Microsoft Exchange ; Hi All Exchange & Windows 2000 platform. I want to change a lot of settings and I'm doing it programatically (with perl and talking via LDAP to AD). Got most of the changes working a treat (profile paths, etc) However, ...

+ Reply to Thread
Results 1 to 5 of 5

Programatically modifing exchange permissions

  1. Default Programatically modifing exchange permissions

    Hi All

    Exchange & Windows 2000 platform.

    I want to change a lot of settings and I'm doing it programatically (with
    perl and talking via LDAP to AD). Got most of the changes working a treat
    (profile paths, etc)

    However, I want to make sure the "SELF" permission has particular rights on
    the exchange mailbox.

    How the do I go about doing that - I see there is "msExchSecurityDescriptor"
    but from what I read that's only any use when the account is created.

    From what I can figure out, I need to acutally modify permissions on the
    store itself - but how ? I'm sure I could do this in Exchange 5.5 world ;-)
    Any pointers appreciated

    Colin




  2. Default Re: Programatically modifing exchange permissions

    Have to look at KB http://support.microsoft.com/kb/310866 which covers using
    the IExchangeMailbox Interface to do this programatically (you need CDOEXM).
    If your just doing this as a one off you might want to look at using
    ADModify to do this.

    Cheers
    Glen

    "Colin Chaplin" <Colin@Chaplin.me.uk> wrote in message
    news:crrt6f$7pb$1$8302bc10@news.demon.co.uk...
    > Hi All
    >
    > Exchange & Windows 2000 platform.
    >
    > I want to change a lot of settings and I'm doing it programatically (with
    > perl and talking via LDAP to AD). Got most of the changes working a treat
    > (profile paths, etc)
    >
    > However, I want to make sure the "SELF" permission has particular rights
    > on the exchange mailbox.
    >
    > How the do I go about doing that - I see there is
    > "msExchSecurityDescriptor" but from what I read that's only any use when
    > the account is created.
    >
    > From what I can figure out, I need to acutally modify permissions on the
    > store itself - but how ? I'm sure I could do this in Exchange 5.5 world
    > ;-)
    > Any pointers appreciated
    >
    > Colin
    >
    >
    >




  3. Default Re: Programatically modifing exchange permissions

    Have to look at KB http://support.microsoft.com/kb/310866 which covers using
    the IExchangeMailbox Interface to do this programatically (you need CDOEXM).
    If your just doing this as a one off you might want to look at using
    ADModify to do this.

    Cheers
    Glen

    "Colin Chaplin" <Colin@Chaplin.me.uk> wrote in message
    news:crrt6f$7pb$1$8302bc10@news.demon.co.uk...
    > Hi All
    >
    > Exchange & Windows 2000 platform.
    >
    > I want to change a lot of settings and I'm doing it programatically (with
    > perl and talking via LDAP to AD). Got most of the changes working a treat
    > (profile paths, etc)
    >
    > However, I want to make sure the "SELF" permission has particular rights
    > on the exchange mailbox.
    >
    > How the do I go about doing that - I see there is
    > "msExchSecurityDescriptor" but from what I read that's only any use when
    > the account is created.
    >
    > From what I can figure out, I need to acutally modify permissions on the
    > store itself - but how ? I'm sure I could do this in Exchange 5.5 world
    > ;-)
    > Any pointers appreciated
    >
    > Colin
    >
    >
    >




  4. Default Re: Programatically modifing exchange permissions


    "Glen Scales [MVP]" <gscales@outlookexchange.com> wrote in message
    news:%23ug9fMq9EHA.2608@TK2MSFTNGP10.phx.gbl...
    > Have to look at KB http://support.microsoft.com/kb/310866 which covers
    > using the IExchangeMailbox Interface to do this programatically (you need
    > CDOEXM). If your just doing this as a one off you might want to look at
    > using ADModify to do this.
    >
    > Cheers
    > Glen
    > ]


    Just had a look at ADmodify, it's got just the option I want.
    Many thanks for this!



  5. Default Re: Programatically modifing exchange permissions


    "Glen Scales [MVP]" <gscales@outlookexchange.com> wrote in message
    news:%23ug9fMq9EHA.2608@TK2MSFTNGP10.phx.gbl...
    > Have to look at KB http://support.microsoft.com/kb/310866 which covers
    > using the IExchangeMailbox Interface to do this programatically (you need
    > CDOEXM). If your just doing this as a one off you might want to look at
    > using ADModify to do this.
    >
    > Cheers
    > Glen
    > ]


    Just had a look at ADmodify, it's got just the option I want.
    Many thanks for this!



+ Reply to Thread

Similar Threads

  1. Replies: 8
    Last Post: 08-28-2006, 03:32 PM
  2. How to add Tasks programatically to Exchange Server 2003?
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 03-14-2005, 02:38 AM
  3. Add contacts programatically to Exchange Server 2003
    By Application Development in forum Microsoft Exchange
    Replies: 0
    Last Post: 03-08-2005, 01:19 PM
  4. Shrinking Exchange Databases Programatically
    By Application Development in forum Microsoft Exchange
    Replies: 0
    Last Post: 05-11-2004, 04:44 PM