|
AuthenticationService v0.3.0+7-g8a7f190
|
A class representing the json data structure to modify a user. More...
Public Member Functions | |
| UserModification (String username, bool? active=null, String newUsername=null) | |
| Creates a new instance. More... | |
| IEnumerable< ValidationResult > | Validate (ValidationContext validationContext) |
Static Public Attributes | |
| const String | VALIDATION_ERROR_MESSAGE = "The newUsername or active is required and cannnot be empty or consist only of whitespaces." |
Properties | |
| bool? | IsActive [get] |
| THe new active state of the user. More... | |
| String | Username [get] |
| The name identifying the user. More... | |
| String | NewUsername [get] |
| The name the username is changed to. More... | |
A class representing the json data structure to modify a user.
| Joutsen.AuthenticationService.UserModification.UserModification | ( | String | username, |
| bool? | active = null, |
||
| String | newUsername = null |
||
| ) |
Creates a new instance.
| IEnumerable< ValidationResult > Joutsen.AuthenticationService.UserModification.Validate | ( | ValidationContext | validationContext | ) |
|
static |
|
get |
THe new active state of the user.
|
get |
The name the username is changed to.
|
get |
The name identifying the user.