Solved

Programmatically assigning mailbox rights

Posted on 2006-06-19
5
649 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

895 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

13 Experts available now in Live!

Get 1:1 Help Now