C# Class SqlServer.Service

ファイルを表示 Open project: NGFieldScope/JS-FieldScope

Public Methods

Method Description
AddUser ( string username, string password, string organization, string email ) : int
CheckLogin ( string cookie ) : UserInfo
CheckLogin ( string username, string password ) : string
FindUser ( string usernameOrPassword ) : UserInfo
SetPassword ( string username, string password ) : int
StoreState ( string cookie, string state ) : int
UpdateUser ( string username, string organization, string email ) : int
UsernameExists ( string username ) : bool

Method Details

AddUser() public static method

public static AddUser ( string username, string password, string organization, string email ) : int
username string
password string
organization string
email string
return int

CheckLogin() public static method

public static CheckLogin ( string cookie ) : UserInfo
cookie string
return UserInfo

CheckLogin() public static method

public static CheckLogin ( string username, string password ) : string
username string
password string
return string

FindUser() public static method

public static FindUser ( string usernameOrPassword ) : UserInfo
usernameOrPassword string
return UserInfo

SetPassword() public static method

public static SetPassword ( string username, string password ) : int
username string
password string
return int

StoreState() public static method

public static StoreState ( string cookie, string state ) : int
cookie string
state string
return int

UpdateUser() public static method

public static UpdateUser ( string username, string organization, string email ) : int
username string
organization string
email string
return int

UsernameExists() public static method

public static UsernameExists ( string username ) : bool
username string
return bool