User Management
Change Password
The rm.Login must be called first to perform this functions.
In case of fixed readers, the login information such as user name, oldpassword and newpassword are required for changing the password.
UserInfo userInfo = new UserInfo();
userInfo.Username = "admin";
userInfo.OldPassword = "change";
userInfo.NewPassword = "newpassword";
// change password operation
try
{
rm.ChangePassword(userInfo);
}
catch (OperationFailureException exception)
{
Console.WriteLine("change password failed " + exception.Message);
}