public virtual string UserName { get; }
So need to call base constructor to set the value
public class CustomerUser : MembershipUser { public string CID { get; set; } public CustomerUser(string username, string cid: base("CustomerMembershipProvider", username, null, null, null, null, true, false, System.DateTime.Now, System.DateTime.Now, System.DateTime.Now, System.DateTime.Now, System.DateTime.Now) { CID= cid; } }