Solved

Programmatically assigning mailbox rights

Posted on 2006-06-19
5
648 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
5 Comments
 
LVL 31

Accepted Solution

by:
LeeDerbyshire earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now