(2nd attempt) How to get permissions of existing queue?

  • Thread starter Thread starter Karun Karunakaran
  • Start date Start date
K

Karun Karunakaran

Hi,

How do I get the permissions of an existing queue? The
System.Messaging.MessageQueue class has the function
SetPermissions, but I am not able to find one that gets
existing permissions.

(The answer to my original post directed me to
AccessControlEntry class, but that can just be used to
*set* permissions for a queue, not *get* the existing
permissions.)

Thanks,
Karun.
 
Karun,
How do I get the permissions of an existing queue? The
System.Messaging.MessageQueue class has the function
SetPermissions, but I am not able to find one that gets
existing permissions.

Have you checked out the MessageQueueInstaller class? According to .NET Help
you can pass an existing queue in the MessageQueueInstaller constructor. Its
Permissions property allows you to examine the permissions associated with a
queue.

Regards,

Kevin McNeish
C# MVP
Chief Software Architect, Mere Mortals .NET Framework
www.oakleafsd.com
 
Back
Top