Click or drag to resize
MimeKit

AccessControl(String, IEnumerableAccessRight) Constructor

Initializes a new instance of the AccessControl class.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public AccessControl(
	string name,
	IEnumerable<AccessRight> rights
)

Parameters

name  String
The identifier name.
rights  IEnumerableAccessRight
The access rights.
Exceptions
ExceptionCondition
ArgumentNullException

name is null.

-or-

rights is null.

Remarks
Creates a new AccessControl with the given name and access rights.
See Also