Remove users from SPWeb.AllUsers

Remove users from SPWeb.AllUsers

Problem:


The Log.log of the Collaboration Manager lists too many users who are authorized to access the site.

Cause:


As soon as a user was ever authorized for the template or was used in a PeoplePicker, this user is listed in the AllUsers List of the web.

Solution:


Remove unnecessary users via Powershell:

$w = $get-spweb [URL]

$au = $w.AllUsers

$au.Remove([claim|domain|user])
    • Related Articles

    • Workspace is not created (with external users)

      Creating new  workspaces with external users will fail. It does not create a workspace after creating a new list item. The Status column and the URL field are not gefüllt.Arbeitsbereich will not be created (with external users) The following error ...
    • Workspace creation Error occured - Unauthorized Access Exception

      Symptom After creating a workspace the status column in the workspace list shows an Error Occurred. The log shows this or an similar error : Solutions2Share.Solutions.CollaborationManager.Services.Components.Workspace.CreateFromTemplateInternal: ...
    • Uninstall Collaboration Manager

      Please follow the order to remove the Collaboration Manager items: Deleting Contents from Lists/Libraries Delete lists/libraries Delete columns Delete content types Disable feature Retract Collaboration Manager Solution from Content Web Application ...
    • Synchronization between PeopleSoft and Field Permission SharePoint group incorrect

      Problem: Users that have been added manually by the user in a linked SharePoint group in the workspace are not synchronized in the associated People Permission Field in the Workspaces list. Reason: The People Permission Field is not configured to ...
    • Access denied while calling the workspace

      Problem: After you create the workspace, the page can only be accessed using the administrator account. All users who are entitled to the page about People Permission Fields or Group Permission Fields get an Access denied message when the page. ...