Saturday, February 9, 2013

List Users In MVC Membership


CommonList commonList = new CommonList();
            commonList.userName = "";
            commonList.userList = Membership.GetAllUsers().Cast().Select(m => new UserList { userName = m.UserName, emailID = m.Email }).ToList();
           

No comments:

Post a Comment