XADM: You Cannot Programmatically Change Mailbox Rights (302926)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q302926

SYMPTOMS

You may not be able to programmatically change mailbox rights; you may only be able to change mailbox rights by using Exchange System Manager.

CAUSE

This problem can occur because the interface that Exchange System Manager uses has not been exposed, and changes that you make to the security description from Active Directory are not mapped back to the store. Therefore, although you can change the client permission of public folders, there is no method that you can use to change the mailbox rights programmatically.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Exchange 2000 Server. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

301378 XGEN: How to Obtain the Latest Exchange 2000 Server Service Pack

The English version of this fix should have the following file attributes or later:

Component: Administrator

File NameVersion
Exadmin.dll6.0.4720.13
Maildsmx.dll6.0.4720.13
Cdoexm.dll6.0.4720.13

NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 1.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server. This problem was first corrected in Microsoft Exchange 2000 Server Service Pack 2.

MORE INFORMATION

The following code is sample code to use this interface:

Set objUser = GetObject("LDAP://stanisc4dom.extest.microsoft.com/CN=administrator,CN=users,DC=stanisc4dom,DC=extest,DC=microsoft,DC=com")
Set objMailboxSD = objUser.MailboxRights


Modification Type:MinorLast Reviewed:6/5/2003
Keywords:kbbug kbExchange2000preSP2fix kbExchange2000SP2Fix kbfix KB302926