title: get data in view from viewModel by using class name and function
body: <p>How to get data in view from viewModel and make it dynamic, i.e. in view i write: </p>
  
  <pre><code>*if(AccessControlManager.IsInUserRoles("SEODataEditor",UserRoles))
  {
         //hide or show SEODataEditor in layout
  }*
  </code></pre>
  
  <p>but in view Model i should define a class AccessControlManager, or outside viewModel and how to access
  it in view, through viewModel.</p>