HBS.Data.Entities.TimeTracking.ViewModels.UserRoleViewModel.UserRoleViewModel C# (CSharp) Method

UserRoleViewModel() public method

public UserRoleViewModel ( string userName ) : System.Collections.Generic
userName string
return System.Collections.Generic
        public UserRoleViewModel(string userName)
        {
            UserModel = new UserModel(MembershipUserExtended.GetUser(userName, false));
            Roles = System.Web.Security.Roles.GetAllRoles().ToList();
            WeeklyTimeTrackModel = TimeTrackManager.GetCurrentWeekClockInOutTime(userName);
        }

Same methods

UserRoleViewModel::UserRoleViewModel ( ) : System.Collections.Generic
UserRoleViewModel