AccessControlEntry Class

Specifies access rights for a trustee (user, group, or computer) to perform application-specific implementations of common tasks.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public class AccessControlEntry
public class AccessControlEntry
public class AccessControlEntry

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 which 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0