Solved

Programmatically assigning mailbox rights

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

636 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