Szerkesztés

Megosztás a következőn keresztül:


MessageQueueInstaller.Permissions Property

Definition

Gets or sets permissions associated with the queue.

public:
 property System::Messaging::AccessControlList ^ Permissions { System::Messaging::AccessControlList ^ get(); void set(System::Messaging::AccessControlList ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Messaging.AccessControlList Permissions { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Permissions : System.Messaging.AccessControlList with get, set
Public Property Permissions As AccessControlList

Property Value

A AccessControlList that contains one or more access control entries that specify the trustees and permissions to grant for the queue.

Attributes

Remarks

By default, the creator of a public or private queue has full control, and the domain group Everyone has permission to get queue properties, get permissions, and write to the queue. Message Queuing accesses each permission list entry in turn until it finds one that applies to the current user and the current attempted action. As with the operating system permissions, the rights that you specifically deny to a user take precedence over those you allow.

When you construct the Permissions property, add AccessControlEntry instances to your AccessControlList collection. When you construct each access control entry, you can specify generic or standard access rights. The rights to a queue can be any combination of the following:

  • Delete

  • Read Security

  • Write Security

  • Synchronize

  • Modify Owner

  • Read

  • Write

  • Execute

  • Required

  • All

  • None

These rights are a set of bit flags that you can combine using the bitwise OR:

  • Full Control

  • Delete Message

  • Receive Message

  • Peek Message

  • Receive Journal Message

  • Get Queue Properties

  • Set Queue Properties

  • Get Permissions

  • Set Permissions

  • Take Queue Ownership

  • Write Message

Applies to

See also