AccessControlEntry Class
Specifies access rights for a trustee (user, group, or computer) to perform application-specific implementations of common tasks.
For a list of all members of this type, see AccessControlEntry Members.
System.Object
System.Messaging.AccessControlEntry
System.Messaging.MessageQueueAccessControlEntry
[Visual Basic] Public Class AccessControlEntry [C#] public class AccessControlEntry [C++] public __gc class AccessControlEntry [JScript] public class AccessControlEntry
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
Many applications have similar operations to which a trustee can be assigned rights, for example, reading, writing, and deleting objects. When you assign rights for these general operations, the application interprets them in a way specific to that application. For example, Message Queuing interprets the reading operation as receiving or peeking messages from a queue. The AccessControlEntry class provides access to these common rights.
When working with access control entries, you specify a trustee to whom you are assigning the rights. You must set at least one of the GenericAccessRights, StandardAccessRights, or CustomAccessRights properties to indicate which rights to assign to the trustee. You can set the EntryType property to specify whether the rights you indicate should be granted or denied. The default entry type is to allow rights.
Requirements
Namespace: System.Messaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Messaging (in System.Messaging.dll)
See Also
AccessControlEntry Members | System.Messaging Namespace | AccessControlList | MessageQueueAccessControlEntry | MessageQueue.SetPermissions