C# Class ScrewTurn.Wiki.Plugins.ActiveDirectory.ActiveDirectoryProvider.Config

ファイルを表示 Open project: mono/ScrewTurnWiki

Public Properties

Property Type Description
AutomaticMail string
CaseInsensitive bool
DomainName string
Password string
ServerName string
Username string

Public Methods

Method Description
AddGroupMap ( string domainGroup, string wikiGroups ) : void

Adds the given group map.

GetDomain ( ) : System.DirectoryServices.ActiveDirectory.Domain

Gets the domain specified by the config or else the computer domain.

GetDomain ( string username, string password ) : System.DirectoryServices.ActiveDirectory.Domain

Gets the domain specified by the config or else the computer domain using the given credentials (if any).

GetWikiGroups ( List domainGroups ) : List

Get the wiki groups for the given domain groups, if any.

ValidateCredentials ( string username, string password ) : bool

Determine if the given user credentials are valid.

Private Methods

Method Description
GetGroupMap ( string domainGroup ) : string[]

Get the wiki groups for the given domain group, if any.

Method Details

AddGroupMap() public method

Adds the given group map.
public AddGroupMap ( string domainGroup, string wikiGroups ) : void
domainGroup string The domain group.
wikiGroups string The wiki groups.
return void

GetDomain() public method

Gets the domain specified by the config or else the computer domain.
public GetDomain ( ) : System.DirectoryServices.ActiveDirectory.Domain
return System.DirectoryServices.ActiveDirectory.Domain

GetDomain() public method

Gets the domain specified by the config or else the computer domain using the given credentials (if any).
public GetDomain ( string username, string password ) : System.DirectoryServices.ActiveDirectory.Domain
username string The username.
password string The password.
return System.DirectoryServices.ActiveDirectory.Domain

GetWikiGroups() public method

Get the wiki groups for the given domain groups, if any.
public GetWikiGroups ( List domainGroups ) : List
domainGroups List The domain groups.
return List

ValidateCredentials() public method

Determine if the given user credentials are valid.
public ValidateCredentials ( string username, string password ) : bool
username string The username.
password string The password.
return bool

Property Details

AutomaticMail public_oe property

public string AutomaticMail
return string

CaseInsensitive public_oe property

public bool CaseInsensitive
return bool

DomainName public_oe property

public string DomainName
return string

Password public_oe property

public string Password
return string

ServerName public_oe property

public string ServerName
return string

Username public_oe property

public string Username
return string