C# Class MSDNSWebAdmin.AppCode.WindowsAuthentication

Windows Authentication

Used to authenticate against domain/server username/password

Afficher le fichier Open project: drorgl/MSDNSWebAdmin

Méthodes publiques

Méthode Description
Authenticate ( string username, string password, string domain ) : bool

Attemps to authenticate a Windows user

Private Methods

Méthode Description
CloseHandle ( IntPtr hObject ) : bool
LogonUser ( string pszUsername, string pszDomain, string pszPassword, LogonType dwLogonType, LogonProvider dwLogonProvider, IntPtr &phToken ) : bool

Method Details

Authenticate() public static méthode

Attemps to authenticate a Windows user
public static Authenticate ( string username, string password, string domain ) : bool
username string Username
password string Password
domain string Domain
Résultat bool