Method | 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. |
return | void |
public CreateUser ( |
||
userInfo | Instance of a userinfo | |
return | void |
public CreateUserLog ( |
||
userLog | ||
return | void |
public GetUser ( int userId ) : |
||
userId | int | Id of the user to get. |
return |
public GetUser ( string username ) : |
||
username | string | Username of the user. |
return |
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 | |
return |
public Search ( string search, System.Enums userT ) : IEnumerable |
||
search | string | |
userT | System.Enums | |
return | IEnumerable |
public UpdateUser ( |
||
userInfo | ||
return | void |