Steps Involved:
- Open SharePoint 2010 Management Shell by going to Start | All Programs | SharePoint | Microsoft SharePoint 2010 Products | SharePoint 2010 Management Shell (Run as Administrator).
- Run the following script.
Powershell Script:
## Remove user permission from SharePoint 2010 list using web service in powershell
$uri="http://serverName:10736/sites/ECT2/_vti_bin/Permissions.asmx?wsdl"
## $listName is a string which contains the list name from which user permission has to be removed
[String]$listName="A1"
## $type is a string which contains the object type - List
[String]$type="List"
## $permissionIdentified is a string which contains the user (domainName\UserName) for whom the permission has to be removed
[String]$permissionIdentifier="domainName\userName"
## $permissionType is a string which contains the permission type - user
[String]$permissionType="user"
## Web Service Reference - http://Site/_vti_bin/Permissions.asmx
$permissionWebServiceReference = New-WebServiceProxy -Uri $uri -UseDefaultCredential
$permissionWebServiceReference.RemovePermission($listName,$type,$permissionIdentifier,$permissionType)

Join the conversation! Your thoughts help the community grow.