/// <summary> /// Converte um usuário do Colosoft para um MembershipUser. /// </summary> /// <param name="user"></param> /// <returns></returns> private static MembershipUser Convert(Colosoft.Security.IUser user) { return(new MembershipUser(Colosoft.Security.Membership.Provider.Name, user.UserName, user.UserKey, user.Email, user.PasswordQuestion, null, user.IsApproved, false, user.CreationDate.UtcDateTime, System.DateTime.UtcNow, System.DateTime.UtcNow, user.LastPasswordChangedDate.UtcDateTime, DateTime.MinValue)); }
public Colosoft.Security.CreateUserResult CreateNewUser(Colosoft.Security.IUser user, string password, params Colosoft.Security.SecurityParameter[] parameters) { throw new NotImplementedException(); }