Пример #1
0
 public VcapClientResult AddUser(string email, string password)
 {
     var hlpr = new UserHelper(proxyUser, credMgr);
     return hlpr.AddUser(email, password);
 }
Пример #2
0
 public VcapClientResult ChangePassword(string newpassword)
 {
     CheckLoginStatus();
     var hlpr = new UserHelper(proxyUser, credMgr);
     return hlpr.ChangePassword(info.User, newpassword);
 }
Пример #3
0
 public IEnumerable<VcapUser> GetUsers()
 {
     var hlpr = new UserHelper(proxyUser, credMgr);
     return hlpr.GetUsers();
 }
Пример #4
0
 public VcapClientResult Login(string email, string password)
 {
     var helper = new UserHelper(proxyUser, credMgr);
     return helper.Login(email, password);
 }
Пример #5
0
 public VcapUser GetUser(string email)
 {
     var hlpr = new UserHelper(proxyUser, credMgr);
     return hlpr.GetUser(email);
 }
Пример #6
0
 public VcapClientResult DeleteUser(string email)
 {
     var hlpr = new UserHelper(proxyUser, credMgr);
     return hlpr.DeleteUser(email);
 }
Пример #7
0
 public void ChangePassword(string newPassword)
 {
     var helper = new UserHelper(proxyUser, credMgr);
     var info = GetInfo();
     helper.ChangePassword(info.User, newPassword);
 }
Пример #8
0
 public void AddUser(string email, string password)
 {
     var helper = new UserHelper(proxyUser, credMgr);
     helper.AddUser(email, password);
 }
Пример #9
0
 public void DeleteUser(string email)
 {
     var helper = new UserHelper(proxyUser, credMgr);
     helper.DeleteUser(email);
 }