Remove Orphaned Users from SharePoint Groups. RRS feed

  • Question

  • I would like to delete users, who are deleted from AD group thru programatically from sharepoint sites. What is the best way to do , can you pls thru somelight.

    How to identify whether that user is there in AD from sharePoint user info list? Do we need to check/Verify ever user in 'sharepoint user info list' with AD and then delete accordingly? Or any other way.  OR Is it safe assumption that 'sharepoint user info list' should be in sync up with if the user profile sync service runs well.

    How to do the same if its farms authentication?

    pls share your throughts.



    Saturday, February 11, 2012 12:51 AM


All replies

    • Proposed as answer by Sjoukje ZaalMVP Sunday, February 12, 2012 7:42 AM
    • Marked as answer by GuYuming Monday, February 13, 2012 3:11 AM
    Saturday, February 11, 2012 1:35 AM
  • You should also keep in mine that the users that you delete from SharePoint maybe present in the Created By and Modified By fields, so I would check this first and verify that you do not have any objections from the business(audit, complience,etcc) performing this action because doing this will remove the users from the Created By and Modified By fields.

    Make sure you mark my reply as the answer if it had solved your request. Brandon M. Hunter MCTS - SharePoint 2010 Configuration

    Sunday, June 3, 2012 8:23 PM