AccessRight Structure

An individual Access Right to be used with ACLs.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public readonly struct AccessRight : IEquatable<AccessRight>
Inheritance
Object    ValueType    AccessRight
Implements
IEquatableAccessRight

Remarks

An individual Access Right meant to be used with AccessControlList.

For more information on what rights are available, see https://tools.ietf.org/html/rfc4314#section-2.1

Constructors

AccessRight Initializes a new instance of the AccessRight struct.

Methods

Equals(AccessRight) Determines whether the specified AccessRight is equal to the current AccessRight.
Equals(Object) Determines whether the specified Object is equal to the current AccessRight.
(Overrides ValueTypeEquals(Object))
GetHashCode Serves as a hash function for a AccessRight object.
(Overrides ValueTypeGetHashCode)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a String that represents the current AccessRight.
(Overrides ValueTypeToString)

Operators

Equality(AccessRight, AccessRight) Determines whether two access rights are equal.
Inequality(AccessRight, AccessRight) Determines whether two access rights are not equal.

Fields

Administer The access right for administering the ACLs of a folder.
AppendMessages The access right allowing messages to be appended or copied into the folder.
CreateFolder The access right allowing subfolders to be created.
DeleteFolder The access right for deleting a folder and/or its subfolders.
ExpungeFolder The access right for expunging deleted messages in a folder.
LookupFolder The access right for folder lookups.
OpenFolder The access right for opening a folder and getting the status.
Right The character representing the particular access right.
SetMessageDeleted The access right for adding or removing the Deleted flag to messages within a folder.
SetMessageFlags The access right for adding or removing flags (other than Seen and Deleted) on messages in a folder.
SetMessageSeen The access right for adding or removing the Seen flag on messages in the folder.

See Also

Reference