title: How to authorize user role at a particular mvc3 controller/action?
body: <p>How can I set authorization to a particular action within a controller?</p>
  
  <p>Example (authorizes valid username logged in):</p>
  
  <pre><code>    [Authorize]  
      public ActionResult ChangePassword()
      {
          return View();
      }
  </code></pre>
  
  <p>So, I'm looking to validate access based on the users roles...something like this:</p>
  
  <pre><code>    [Authorize]
      [AuthorizeRole="Admin"]     // This is psuedo but something like this   
      [AuthorizeRole="SuperUser"] // This is psuedo but something like this 
      public ActionResult ChangePassword()
      {
          return View();
      }
  </code></pre>
  
  <p>Is something like the above possible?  If not what is the best way to secure access based on roles for particular controller/action security?</p>
  
  <p>Thanks!</p>