Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 657
  • Last Modified:

Programmatically assigning mailbox rights

In programming an application using C#, we're trying to add users to the mailbox rights programmatically.

So far, we've:

Created a mailbox using:

CDOEXM.ImailboxStore mailbox;
mailbox = (IMailboxStore)newuser.NativeObject;
mailbox.CreateMailbox(homeMDB);
newuser.CommitChanges();

We've created a new user (newuser) and we want users in another OU (user1, user2) to have access to this new user's mailbox, and then add permissions for the users(user1: readpermissions, Change permissions; user2: Full mailbox access, Delete mailbox storage) to the mailbox rights.

0
nihannet
Asked:
nihannet
2 Solutions
 
LeeDerbyshireCommented:
Have you tried these;

http://support.microsoft.com/default.aspx?scid=kb;en-us;304935
http://support.microsoft.com/default.aspx?scid=kb;en-us;327079

I don't know much about CDOEXM, so I can't say if it works or not, but the MS site is usually the best place to start for stuff like this.
0
 
nihannetAuthor Commented:
CDOEXM is a collection of COM classes & interfaces aggregated into CDO and ADSI classes.  We never would have thought to check the MSDN Library for support on a microsoft product.  Thanks.  

Does anyone else have something valuable to contribute?
0
 
ExchgenCommented:
Hey check KB912918..


The only relevent portion in this KB is it tells you to determine and add permissions...

I hope this helps...

Raghu
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now