有没有办法删除现有的 SharePoint(在线)文件锁定?

发布于 2025-01-20 03:14:26 字数 263 浏览 1 评论 0原文

尝试在 SharePoint 库中上传/签出文件时,我们收到“锁定共享使用”消息。

目前不在线的用户。我尝试删除她对该文件的共享权限,但它仍然显示她正在编辑它(文档的右上角)。

有没有办法完全删除文件上现有的共享锁,以便我们可以上传文件的新版本?

理想情况下,我们希望通过 UI 来做到这一点。但是任何如何使用 API 上的代码删除所有现有锁的想法也会有所帮助。


我发现把锁拆干净并不容易。基本上,删除我们遇到的类型的唯一方法是删除文件并重新添加

We are getting the locked for shared use message when trying to upload/checkout a file in a SharePoint library.

The user that is not online at the moment. I tried removed her sharing permissions on the file and its still shows she is editing it (upper right corner of the document).

Is there a way to completely remove existing sharing locks on a file so we can upload a new version of the file?

Ideally we would like way to do this with the UI. But any ideas how remove all existing locks with code on the API would also be helpful.


I found that it was not easy to remove the lock cleanly. Basically the only way to remove the type of we experienced was to delete the file and re-add

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

狼亦尘 2025-01-27 03:14:26

我曾经能够通过强迫他们签署所有会话(Admin->用户 - > Active用户)来解决此问题 - 您的里程可能会有所不同,并且对于用户来说很糟糕。

除非您有特定的原因,否则检查 / IN似乎是一种过时的处理方法。好奇听到更多。 -shane

I was once able to resolve this by forcing them to sign out of all sessions (Admin->Users->Active Users) - Your mileage may vary and it sucks for the user.

Checking out / in seems an outdated way to handle things unless you have a specific reason. Curious to hear more. -Shane

请爱~陌生人 2025-01-27 03:14:26

最简单的方法是删除该文件,然后从回收站恢复。

Easiest way to do this is to delete the file then restore from recycle bin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文