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, ...
-
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
-
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
>
>
>
-
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
>
>
>
-
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!
-
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!
Similar Threads
-
By Application Development in forum Microsoft Exchange
Replies: 8
Last Post: 08-28-2006, 03:32 PM
-
By Application Development in forum Microsoft Exchange
Replies: 1
Last Post: 03-14-2005, 02:38 AM
-
By Application Development in forum Microsoft Exchange
Replies: 0
Last Post: 03-08-2005, 01:19 PM
-
By Application Development in forum Microsoft Exchange
Replies: 0
Last Post: 05-11-2004, 04:44 PM