ClearCanvas.Web.Enterprise.Authentication.LoginService.ResetPassword C# (CSharp) Method

ResetPassword() private method

private ResetPassword ( string userName ) : void
userName string
return void
		public void ResetPassword(string userName)
		{
			ResetPasswordResponse response;
			var request = new ResetPasswordRequest(userName);
			Platform.GetService(
				delegate(IAuthenticationService service)
					{
						response = service.ResetPassword(request);
						Platform.Log(LogLevel.Info, "Password for {0} has been reset and email sent to {1}.", userName, response.EmailAddress);
					});
		}