C# Класс ScrewTurn.Wiki.Plugins.ActiveDirectory.ActiveDirectoryProvider.Config

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AutomaticMail string
CaseInsensitive bool
DomainName string
Password string
ServerName string
Username string

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetGroupMap ( string domainGroup ) : string[]

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

Описание методов

AddGroupMap() публичный Метод

Adds the given group map.
public AddGroupMap ( string domainGroup, string wikiGroups ) : void
domainGroup string The domain group.
wikiGroups string The wiki groups.
Результат void

GetDomain() публичный Метод

Gets the domain specified by the config or else the computer domain.
public GetDomain ( ) : System.DirectoryServices.ActiveDirectory.Domain
Результат System.DirectoryServices.ActiveDirectory.Domain

GetDomain() публичный Метод

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.
Результат System.DirectoryServices.ActiveDirectory.Domain

GetWikiGroups() публичный Метод

Get the wiki groups for the given domain groups, if any.
public GetWikiGroups ( List domainGroups ) : List
domainGroups List The domain groups.
Результат List

ValidateCredentials() публичный Метод

Determine if the given user credentials are valid.
public ValidateCredentials ( string username, string password ) : bool
username string The username.
password string The password.
Результат bool

Описание свойств

AutomaticMail публичное свойство

public string AutomaticMail
Результат string

CaseInsensitive публичное свойство

public bool CaseInsensitive
Результат bool

DomainName публичное свойство

public string DomainName
Результат string

Password публичное свойство

public string Password
Результат string

ServerName публичное свойство

public string ServerName
Результат string

Username публичное свойство

public string Username
Результат string