This article has been archived. It is offered "as is" and will no longer be updated.
You may not be able to programmatically change mailbox rights; you may only be able to change mailbox rights by using Exchange System Manager.
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.
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 theMicrosoft 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:
NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 1.
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.
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