ערוך

שתף באמצעות


AccessControlEntry Class

Definition

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

public ref class AccessControlEntry
public class AccessControlEntry
type AccessControlEntry = class
Public Class AccessControlEntry
Inheritance
AccessControlEntry
Derived

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

Constructors

AccessControlEntry()

Initializes a new instance of the AccessControlEntry class that specifies neither a trustee nor set of rights to apply.

AccessControlEntry(Trustee, GenericAccessRights, StandardAccessRights, AccessControlEntryType)

Initializes a new instance of the AccessControlEntry class that specifies a trustee, rights to assign, and whether to grant or deny these rights.

AccessControlEntry(Trustee)

Initializes a new instance of the AccessControlEntry class that specifies a trustee to which rights are granted or denied.

Properties

CustomAccessRights

Gets or sets custom access rights.

EntryType

Gets or sets a value that indicates how the access rights apply to the trustee.

GenericAccessRights

Gets or sets a set of common access rights that map to both standard and object-specific access rights for reading, writing, and executing.

StandardAccessRights

Gets or sets a set of standard access rights that correspond to operations common to most types of securable objects.

Trustee

Gets or sets the user, group, domain, or alias to which you are assigning access rights.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also