I have the Model (User) below, I use it to add new users and to update existing users. When I\'m adding a new user it\'s required to enter the user name and the password, a
I normally specify in my BaseViewModel
which elements to hide, then use jQuery to hide them. It can mess with your layout though, if you use more 'fancy' layouts than my usual top to bottom column-based layouts. Hide form-group
for each element to be hidden, and the elements below it just shift upwards.
My main line of work is LOB intranet apps, so I skip all the fancy most of the time.