static public void ChangePassword(string tenantName, string username, string oldPassword, string newPassword) { using (BasicChannel channel = new BasicChannel()) { channel.ChangePassword(tenantName, username, oldPassword, newPassword); } }