Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2013 - Sorry, this site hasn’t been shared with you

$
0
0

Hi all!

I have created a SharePoint site using stsadm.exe ( SharePoint command line administration tool ). The site has been created successfully. It can be browsed and the site administrator can log-in to the site. 

BUT, every other user which was added to site using the command below

stsadm -o adduser -url "http://test.sharepoint2013.com" -userlogin "LAB01\testuser1" -useremail "testuser@sp2013.com" -role "Full Control" -username "Test User"

the user is added successfully into SharePoint site and the Roles/Permission Levels are also successfully assigned.

But the user CANNOT login to the site. It says "Sorry, this site hasn’t been shared with you."

I have verified the user has proper permission levels assigned and can be seen in site.

There is certainly no such problem in SharePoint 2010/2007.

Please guide. I ll be thankful to you!

Regards,


Rizwan Ahmed. Software Engineer - Microsoft Lync | Exchange | SharePoint | Blackberry Enterprise Server | .NET


Viewing all articles
Browse latest Browse all 7589

Trending Articles