A page has been checked out by someone who I am not able to contact. I need to update the page but cannot check it out until the current check-out is finished.
How can I force the current check-out to be discarded?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
If you have administrative rights, it is possible to override the check-out via the View All Site Content page:
It is also possible to perform this routine through SharePoint Designer.
(Thanks to Christian Nesmark via StackOverflow)
You can use SPFile.UndoCheckOut Method achieve this.