0

I'm using the UserGroup.GetAllUserCollectionFromWeb method to return all the users in a Site Collection: https://msdn.microsoft.com/en-us/library/websvcusergroup.usergroup.getallusercollectionfromweb(v=office.14).aspx

When used, the result set includes users that are no longer in the site and or can't be validated through the Check Permissions modal. (Site Actions --> Site Permissions --> Check Permissions).

Result set:
userA (valid)
userB (can't validate in modal)
userC (valid)
userD (valid)

1 Answer 1

1

Even if user no longer valid they still exist in user information list. To permanently delete user from site collection, follow below steps:

  1. On the site collection home page, click the Site Actions menu, point to Site Settings, and then click People and Groups.
  2. On the People and Groups page, in the Quick Launch, click All People.
  3. On the People and Groups: All People page, select the check box next to the user who you want to delete.
  4. On the Actions menu, click Delete Users from Site Collection, and then click OK.

For more information, you can check below links:

https://support.office.com/en-us/article/Remove-users-and-groups-from-site-access-8a221be7-3696-4e28-9cfb-76532dce3563

http://iedaddy.com/2010/12/sharepoint-2010-deleted-and-recreated-user-doesnt-have-permissions-to-site-access-denied/

1
  • Nope. User is not in the list. Direct URL to the place you referenced. root/sites/tacopalace/_layouts/people.aspx Aug 3, 2016 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.