Solved

Programmatically assigning mailbox rights

Posted on 2006-06-19
5
653 Views
Last Modified: 2007-12-19
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
Comment
Question by:nihannet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 31

Accepted Solution

by:
LeeDerbyshire earned 250 total points
ID: 16934942
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
 

Author Comment

by:nihannet
ID: 16935970
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
 
LVL 9

Assisted Solution

by:Exchgen
Exchgen earned 250 total points
ID: 16936894
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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question