Méthode | Description | |
---|---|---|
ChangeUserInfoPassword ( string newPassword, int userInfoId ) : void |
Change the password of a userinfo instance.
|
|
CreateUser ( |
Gets a userinfo instance through a parameter of this function and if it isn't null persist it to the database.
|
|
CreateUserLog ( |
Creates user log
|
|
GetUser ( int userId ) : |
Gets a user by userId
|
|
GetUser ( string username ) : |
Gets a user by username
|
|
GetUserStatuses ( ) : IEnumerable |
Gets users statuses
|
|
GetUserTypes ( ) : IEnumerable |
Gets usertypes
|
|
GetUsers ( ) : IEnumerable |
Returns a collection of userinfo instances.
|
|
Login ( string userName, string password, string ipAddress ) : |
Confirms that user credentials are authentic
|
|
Search ( string search, System.Enums userT ) : IEnumerable |
User search
|
|
UpdateUser ( |
Updates user info
|
public ChangeUserInfoPassword ( string newPassword, int userInfoId ) : void | ||
newPassword | string | Clear text password that a user entered. |
userInfoId | int | Id of a userinfo object. |
Résultat | void |
public CreateUser ( |
||
userInfo | Instance of a userinfo | |
Résultat | void |
public CreateUserLog ( |
||
userLog | ||
Résultat | void |
public GetUser ( int userId ) : |
||
userId | int | Id of the user to get. |
Résultat |
public GetUser ( string username ) : |
||
username | string | Username of the user. |
Résultat |
public Login ( string userName, string password, string ipAddress ) : |
||
userName | string | The username reserved for the user to login to GameSchool. |
password | string | Password to confirm the user is allowed to log into given username. |
ipAddress | string | |
Résultat |
public Search ( string search, System.Enums userT ) : IEnumerable |
||
search | string | |
userT | System.Enums | |
Résultat | IEnumerable |
public UpdateUser ( |
||
userInfo | ||
Résultat | void |