C# 클래스 YetAnotherRelogger.Helpers.Tools.UserAccount

파일 보기 프로젝트 열기: sinterlkaas/YetAnotherRelogger

공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 정적인 메소드

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
리턴 bool

Exists() 공개 정적인 메소드

Lookup username on localhost
public static Exists ( string username ) : bool
username string username to lookup
리턴 bool

ExistsAsAdmin() 공개 정적인 메소드

Lookup admin on localhost
public static ExistsAsAdmin ( string username ) : bool
username string username to lookup
리턴 bool

ImpersonateStartInfo() 공개 정적인 메소드

public static ImpersonateStartInfo ( ProcessStartInfo startinfo, BotClass bot ) : ProcessStartInfo
startinfo System.Diagnostics.ProcessStartInfo
bot BotClass
리턴 System.Diagnostics.ProcessStartInfo