SetPermissions(String,MessageQueueAccessRights) Method
Gives a computer, group, or user the specified access rights.
Syntax
Parameters
- user
- The individual, group, or computer that gets additional rights to the queue.
- rights
- A MessageQueueAccessRights that indicates the set of rights to the queue that Message Queuing assigns to the user passed in.
Exceptions
| Exception | Description |
|---|---|
| System.ArgumentException | The user is null. |
| MessageQueueException | An error occurred when accessing a Message Queuing method. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also