C# 클래스 BCR.UserDatabase

파일 보기 프로젝트 열기: jeroenwalter/ComicRackWeb 1 사용 예제들

공개 메소드들

메소드 설명
AddUser ( string username, string password ) : bool
GetUserFromApiKey ( string apiKey ) : IUserIdentity
GetUserId ( string username ) : int
LoginUser ( string username, string password ) : string
RemoveApiKey ( string apiKey ) : void
RemoveUser ( int userid ) : bool
SetFullName ( int userid, string fullname ) : bool
SetPassword ( int userid, string password ) : bool

비공개 메소드들

메소드 설명
UserDatabase ( ) : System

메소드 상세

AddUser() 공개 정적인 메소드

public static AddUser ( string username, string password ) : bool
username string
password string
리턴 bool

GetUserFromApiKey() 공개 정적인 메소드

public static GetUserFromApiKey ( string apiKey ) : IUserIdentity
apiKey string
리턴 IUserIdentity

GetUserId() 공개 정적인 메소드

public static GetUserId ( string username ) : int
username string
리턴 int

LoginUser() 공개 정적인 메소드

public static LoginUser ( string username, string password ) : string
username string
password string
리턴 string

RemoveApiKey() 공개 정적인 메소드

public static RemoveApiKey ( string apiKey ) : void
apiKey string
리턴 void

RemoveUser() 공개 정적인 메소드

public static RemoveUser ( int userid ) : bool
userid int
리턴 bool

SetFullName() 공개 정적인 메소드

public static SetFullName ( int userid, string fullname ) : bool
userid int
fullname string
리턴 bool

SetPassword() 공개 정적인 메소드

public static SetPassword ( int userid, string password ) : bool
userid int
password string
리턴 bool