PC Review


Reply
Thread Tools Rate Thread

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

 
 
Karun Karunakaran
Guest
Posts: n/a
 
      19th Aug 2003
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.
 
Reply With Quote
 
 
 
 
Kevin McNeish [C# MVP]
Guest
Posts: n/a
 
      21st Aug 2003
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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ms sec fix caused SocketException: An attempt was made to access a socket in a way forbidden by its access permissions Les Caudle Microsoft C# .NET 4 6th Apr 2010 07:04 PM
Error: An attempt was made to access a socket in a way forbidden by its access permissions Noob Windows XP Setup 3 10th Jan 2007 10:35 PM
Trying to send MSMQ messages from ASP.NET: "The queue does not exists or insufficient permissions..." SammyBar Microsoft ASP .NET 2 26th Sep 2006 04:49 PM
Printer queue permissions Ray Collins Windows XP WMI 3 6th Sep 2005 10:25 AM
How to get permissions of an existing queue? Karun Microsoft Dot NET Framework 1 18th Aug 2003 02:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:27 PM.