Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Given the URL of a site collection root, plus the current logged in user, I need to know if the user has permissions to at least see the welcome page.

If there is no Welcome Page set, then I need to programmatically check if the user has at least read permission to the site.

share|improve this question
1  
Duplicate question. See answer here –  Miguel Lima Jun 19 '13 at 9:33
add comment

2 Answers

up vote 2 down vote accepted

As pointed out by Miguel, there is an existing question on Stack Overflow which has a couple of good answers. (Can't migrate it unfortunately).

share|improve this answer
add comment

From the Site collection

Go to Site Settings --> Site Permissions

click check permissions from the ribbon and type in the user

share|improve this answer
    
Assuming you are using Sharepoint 2010 and above. (which is reasonable, but thought I would add it anyway). –  Russell Jun 19 '13 at 4:37
    
loool!!! by code!!! –  L.V. Sharepoint Architect Jun 19 '13 at 5:15
1  
In fairness, you didn't say that in your question. How about editing the question to make it clear you are looking for a code solution? –  SPDoctor Jun 19 '13 at 7:33
    
Indeed, but its tagged as development :) –  L.V. Sharepoint Architect Jun 19 '13 at 10:00
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.