Solved

Problem reading and modifying Exchange 2003 mailbox ACL using VBScript

Posted on 2008-10-02
3
993 Views
Last Modified: 2010-04-21
I'm trying to read and modify the ACL of a mailbox in Exchange 2003 using a VBScript.  I can read and modify the user object ACL no problem, I just can't access the mailbox ACL.  I have ESM installed on the computer I'm running the script on as well.
I've tried:
        Set objsd = objUser.Get("msExchMailboxSecurityDescriptor")
...but I get "The directory property cannot be found in the cache."

Any ideas to access the mailbox ACL in VBScript?
0
Comment
Question by:Pber
[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
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
speshalyst earned 500 total points
ID: 22625795
Please read thru this .. might throw some light..
http://www.mail-archive.com/activedir@mail.activedir.org/msg14226.html
0
 
LVL 26

Author Comment

by:Pber
ID: 22626186
You know sometimes I hate VBS.  That was actually the first method I tried. (the example at here: http://support.microsoft.com/default.aspx/kb/310866)
Normally I don't use on errror resume next If I don't require it, but the first object was not a mail enabled object and would bomb.  I've changed my code accordingly and it is now working.  
Thanks for putting me back on track.
 
 
0
 
LVL 26

Author Closing Comment

by:Pber
ID: 31502432
Thanks again
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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Distribution Group 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 >>…
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…

739 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