What permission is needed to delete a user from SharePoint
i used command below remove user share point server
$site = get-spsite 'http://svcssp2010:80'
$site.rootweb.siteusers.remove('svcsad\test')
if run the command when logged in sharepoint server administrator, performs job without issue.
however, if logged in different user , ran same command, give me error as. user configured "full control" permission site.
####################################################
exception calling "remove" "1" argument(s): "attempted perform unaut
horized operation."
@ line:1 char:31
+ $site.rootweb.siteusers.remove <<<< ('svcsad\test')
+ categoryinfo : notspecified: (:) [], methodinvocationexception
+ fullyqualifiederrorid : dotnetmethodexception
####################################################
my question is, kind of permission needed delete user in sharepoint server.
hi,
based on research, users have full control of 1 site manage site, not delete users sharepoint server, please refer below link:
sharepoint security , permission system overview
http://www.sharepointblues.com/2010/09/01/sharepoint-security-and-permission-system-overview/
and following forum should right place refer to:
sharepoint 2010
http://social.msdn.microsoft.com/forums/en-us/category/sharepoint2010
best regards,
yan li
yan li
technet community support
Windows Server > Windows PowerShell
Comments
Post a Comment