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).
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
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. http://authors.aspalliance.com/stevesmith/articles/netscrape2.asp |
|||
|
|