SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to find out whether a particular user has permissions to view a given sharepoint url. I tried to use the DoesUserHavePermissions method, but the problem is that I am not sure what object does the url points to (item/list/web/site).

share|improve this question
up vote 0 down vote accepted

Not really sure but can try creating an HttpWebRequest for the target URI and POST some data. Depending whether the user has rights ot not, an exception will be thrown which you can further handle to code and conclude accordingly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.