C# Class MailKit.AccessControl

An Access Control.
An Access Control is a set of permissions available for a particular identity, controlling whether or not that identity has the ability to perform various tasks.
Show file Open project: jstedfast/MailKit

Public Methods

Method Description
AccessControl ( string name ) : System

Initializes a new instance of the MailKit.AccessControl class.

Creates a new MailKit.AccessControl with the given name and no access rights.

AccessControl ( string name, IEnumerable rights ) : System

Initializes a new instance of the MailKit.AccessControl class.

Creates a new MailKit.AccessControl with the given name and access rights.

AccessControl ( string name, string rights ) : System

Initializes a new instance of the MailKit.AccessControl class.

Creates a new MailKit.AccessControl with the given name and access rights.

Method Details

AccessControl() public method

Initializes a new instance of the MailKit.AccessControl class.
Creates a new MailKit.AccessControl with the given name and no access rights.
/// is null. ///
public AccessControl ( string name ) : System
name string The identifier name.
return System

AccessControl() public method

Initializes a new instance of the MailKit.AccessControl class.
Creates a new MailKit.AccessControl with the given name and access rights.
/// is null. /// -or- /// is null. ///
public AccessControl ( string name, IEnumerable rights ) : System
name string The identifier name.
rights IEnumerable The access rights.
return System

AccessControl() public method

Initializes a new instance of the MailKit.AccessControl class.
Creates a new MailKit.AccessControl with the given name and access rights.
/// is null. /// -or- /// is null. ///
public AccessControl ( string name, string rights ) : System
name string The identifier name.
rights string The access rights.
return System