A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

ACL-Question



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 7th 06, 09:08 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default ACL-Question

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

Ads
  #2  
Old November 7th 06, 02:45 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ACL-Question

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
oups.com...
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


  #3  
Old November 8th 06, 10:26 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default ACL-Question

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

Ken Slovak - [MVP - Outlook] schrieb:

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
oups.com...
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


  #4  
Old November 8th 06, 02:37 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ACL-Question

Well, I can't help you with that

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
ups.com...
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


  #5  
Old November 9th 06, 11:22 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default ACL-Question

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


Ken Slovak - [MVP - Outlook] schrieb:

Well, I can't help you with that

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
ups.com...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question Steve Baker Outlook - Using Forms 1 September 5th 06 08:31 PM
Question April Outlook Express 8 August 20th 06 03:44 PM
OE Question Wayne Outlook Express 3 May 21st 06 03:00 PM
OE question Bobby28 Outlook - Installation 0 March 27th 06 10:17 PM
question manish goyal Outlook and VBA 1 January 21st 06 09:09 AM


All times are GMT +1. The time now is 10:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.