Method | Description | |
---|---|---|
CreateNewUser ( string username, string password, bool admin ) : |
||
DeleteUsers ( int ids, |
||
GetAllUsers ( ) : afung.MangaWeb3.Server.User[] | ||
GetById ( int id ) : |
||
GetCurrentUser ( |
||
GetUser ( string username ) : |
||
GetUser ( string username, string password ) : |
||
IsAdminLoggedIn ( |
||
MatchPassword ( string password ) : bool | ||
Save ( ) : void | ||
SetAdmin ( int ids, bool admin, |
||
SetPassword ( string password ) : void | ||
ToJson ( ) : |
||
ToJsonArray ( |
Method | Description | |
---|---|---|
FromData ( object>.Dictionary |
||
User ( ) : System |
public static CreateNewUser ( string username, string password, bool admin ) : |
||
username | string | |
password | string | |
admin | bool | |
return |
public static DeleteUsers ( int ids, |
||
ids | int | |
currentUser | ||
return | void |
public static GetAllUsers ( ) : afung.MangaWeb3.Server.User[] | ||
return | afung.MangaWeb3.Server.User[] |
public static GetCurrentUser ( |
||
ajax | ||
return |
public static GetUser ( string username ) : |
||
username | string | |
return |
public static GetUser ( string username, string password ) : |
||
username | string | |
password | string | |
return |
public static IsAdminLoggedIn ( |
||
ajax | ||
return | bool |
public MatchPassword ( string password ) : bool | ||
password | string | |
return | bool |
public static SetAdmin ( int ids, bool admin, |
||
ids | int | |
admin | bool | |
currentUser | ||
return | void |
public SetPassword ( string password ) : void | ||
password | string | |
return | void |
public static ToJsonArray ( |
||
users | ||
return | afung.MangaWeb3.Common.UserJson[] |