ACL-Question

  • Thread starter Thread starter Peter Marchert
  • Start date Start date
P

Peter Marchert

Hello,

I`m writing a code to check the user rights in public folders. With the
following loop I can get the rights of each user or group:

For Each objACE In objRDOFolder.ACL
Debug.Print objACE.Name & " - " & objACE.Rights
Next

But how can I get the groups which the current user belongs to?

Peter
 
A group would be an Exchange DL, so get the AddressEntry from the RDOACE
object and then work with that AddressEntry object to see if it's a DL and
if so get the Members of the DL.
 
Hello Ken,

thanks for your answer.

I think that would work but at the moment I can`t test it because I
have problems to give rights to the public folder (80004005 error).

Peter
A group would be an Exchange DL, so get the AddressEntry from the RDOACE
object and then work with that AddressEntry object to see if it's a DL and
if so get the Members of the DL.




Peter Marchert said:
Hello,

I`m writing a code to check the user rights in public folders. With the
following loop I can get the rights of each user or group:

For Each objACE In objRDOFolder.ACL
Debug.Print objACE.Name & " - " & objACE.Rights
Next

But how can I get the groups which the current user belongs to?

Peter

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
For others who have the same error 80004005: Set the exchange server
and the domain to native mode. Please be carefully if you work in a
company with more servers! If so, please read the help before you
change the mode.

Klick in the AD with the right mouse button on your domain and choose
the fifth entry from top (I don`t know that element name in English).
Then you can choose "Windows Server 2003".

In the exchange-system manager klick again with the right mouse button
on your exchange domain and choose "Properties". Here you can change to
the native mode.

After that you can set your rights to public folder.

Peter
 
Back
Top