title: How to pass method parameter into method's attribute value?
body: <p>I have a method which is decorated with ClaimsPrincipalPermissionAttribute like this:</p>
  
  <pre><code>[ClaimsPrincipalPermission(SecurityAction.Demand, 
                             Resource = "User", 
                             Operation = "accountId")]
  IList&lt;Transaction&gt; ViewTransaction(int accountId)
  {
       // some code
  }
  </code></pre>
  
  <p>Is there anyway to pass the <strong>accoutId parameter</strong> of <em>ViewTransaction</em> to <em>ClaimsPrincipalPermission Operation</em>?</p>
  
  <p>What I want is to use the <em>accountId</em> and then implement custom logic inside ClaimsAuthorizationManager.</p>