I am trying to enter http://portal/test/_layouts/reqacc.aspx?type=web But I getting an error message: "Access denied. You do not have permission to perform this action or access this resource." I am site collection administrator on the site. Can you help me?
1
votes
1 Answers
0
votes
Being a Site Collection Administrator does not matter. You need to enable Access Requests for the site.
To enable Access Requests manually, go to Site Actions > Site Settings > Users and Permissions > Site permissions, then click Manage Access Requests. Click the checkbox for Allow requests for access and set the email address.
To enable Access Requests programmatically, set the SPWeb.RequestAccessEmail property.