C# Class AssessmentAnywhere.Services.Users.User

Inheritance: IUser
ファイルを表示 Open project: pebblecode/AssessmentAnywhere Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
ChangePassword ( string newPassword, string existingPassword ) : void
SetEmailAddress ( string updatedEmailAddress ) : void
User ( string username, string password, string emailAddress ) : System
ValidatePassword ( string passwordToTest ) : bool

Method Details

Activate() public method

public Activate ( ) : void
return void

ChangePassword() public method

public ChangePassword ( string newPassword, string existingPassword ) : void
newPassword string
existingPassword string
return void

SetEmailAddress() public method

public SetEmailAddress ( string updatedEmailAddress ) : void
updatedEmailAddress string
return void

User() public method

public User ( string username, string password, string emailAddress ) : System
username string
password string
emailAddress string
return System

ValidatePassword() public method

public ValidatePassword ( string passwordToTest ) : bool
passwordToTest string
return bool