public MembershipValidationResult ValidateUser(string userName, string password) { var result = new MembershipValidationResult { Error = "", UserName = userName.ToUpper(), Success = false }; if (DummyUserLookupService.GetUsers().Any(o => o.CurtinId.Equals(userName, StringComparison.InvariantCultureIgnoreCase))) { result.Roles.AddRange(DummyUserLookupService.GetRoles(userName)); result.Success = true; } else { result.Error = "Invalid Urdms user ID or password."; } return(result); }
public IEnumerable <string> GetGroupMembership(string path, string domainUserName, string password, string userName) { return(DummyUserLookupService.GetRoles(domainUserName)); }