Ejemplo n.º 1
0
 public override bool ValidateUser(User user, string password)
 {
     return(CobaltWebApi.ValidateUser(user.UserName, password));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Verifies that the specified user name and password exist in the data source.
 /// </summary>
 /// <param name="username">The name of the user to validate.</param>
 /// <param name="password">The password for the specified user.</param>
 /// <returns>
 /// true if the specified username and password are valid; otherwise, false.
 /// </returns>
 public override bool ValidateUser(string username, string password)
 {
     return(CobaltWebApi.ValidateUser(username, password));
 }