title: DoesUserHavePermissions returning false, when user have view permission?
body: <p>I have site collection and iterating user permissions for each subsites underneath. I have see couple sites have permissions to see. But when i do in the code level (below code) giving results false.</p>
  
  <p>I don't know have to get his permissions other than this.  When I go to url he has permission to see.</p>
  
  <p>Please help me out.</p>
  
  <pre><code>    sweb.DoesUserHavePermissions(suser.LoginName, SPBasePermissions.ViewPages |
   SPBasePermissions.ViewListItems | SPBasePermissions.ViewFormPages)
  </code></pre>