C# Class YetAnotherRelogger.Helpers.Tools.UserAccount

Afficher le fichier Open project: sinterlkaas/YetAnotherRelogger

Méthodes publiques

Méthode Description
Create ( string name, string password, string fullName = "", bool isAdmin = false ) : bool

Creates a new user account

Exists ( string username ) : bool

Lookup username on localhost

ExistsAsAdmin ( string username ) : bool

Lookup admin on localhost

ImpersonateStartInfo ( ProcessStartInfo startinfo, BotClass bot ) : ProcessStartInfo

Method Details

Create() public static méthode

Creates a new user account
public static Create ( string name, string password, string fullName = "", bool isAdmin = false ) : bool
name string User login name
password string User password
fullName string User full name
isAdmin bool flag as admin
Résultat bool

Exists() public static méthode

Lookup username on localhost
public static Exists ( string username ) : bool
username string username to lookup
Résultat bool

ExistsAsAdmin() public static méthode

Lookup admin on localhost
public static ExistsAsAdmin ( string username ) : bool
username string username to lookup
Résultat bool

ImpersonateStartInfo() public static méthode

public static ImpersonateStartInfo ( ProcessStartInfo startinfo, BotClass bot ) : ProcessStartInfo
startinfo System.Diagnostics.ProcessStartInfo
bot BotClass
Résultat System.Diagnostics.ProcessStartInfo