title: MVC5 - Dynamically choose which properties are displayed in an form
body: <p>Let's say I have two users who are accessing a form.  One is an admin user and one is a normal user.  And only the admin can view and edit <code>AdminOnlyField</code>   Then let's say I have the following class:</p>
  
  <pre><code>public class Car
  {
      public string Make {get;set;}
      public string Model {get;set;}
      public string AdminOnlyField {get;set;}
  
  }
  </code></pre>
  
  <p>I'm not able to figure out how to conditionally make the <code>AdminOnlyField</code> visible and editable using <code>@html.BeginForm()</code>,  I know you can use properties from <code>ViewBag</code> but in this case all the information I need is coming back from a database so I don't think I can utilize <code>ViewBag</code>.</p>
  
  <p>Is this something MVC can accomplish or do I need to explore Angular?</p>