SharePoint 2013内部部署 - 已删除的用户仍出现在_api / web / SiteUsers中 [英] SharePoint 2013 on premise - Deleted users still appearing in _api/web/SiteUsers

查看:91
本文介绍了SharePoint 2013内部部署 - 已删除的用户仍出现在_api / web / SiteUsers中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我观察到已删除的用户仍然在_api / web / SiteUsers中列出。

I have observed that deleted user is still getting listed in _api/web/SiteUsers.

当我执行_api / web / SiteUser时,删除的用户也会被退回但
我不想让被删除的用户

When I do _api/web/SiteUser, deleted users are also returned but I don't want to get the deleted users

有人可以澄清一下,列出所有用户的Sharepoint行为是否已被删除(已删除)当我们做_api /网站/网站用户时,如果是这样的话,背后的原因是什么

Can someone clarify me whether it is the Sharepoint behaviour to list all the users (deleted also) when we do _api/web/site users and if so, what is the reason behind it

还有其他方法吗?限制获取已删除的用户(我不赞成让所有用户使用_api / web /< g class =" gr_ gr_647 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id =" ; 647"
id =" 647"> siteuser< / g>然后检查每个用户的权限,以确定用户是否被删除/活动或循环遍历所有用户组以获取活动用户

Is there any other way to  restrict getting the deleted users (I'm not in favour of getting all the users using _api/web/<g class="gr_ gr_647 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="647" id="647">siteuser</g> and then checking for each user's permission to determine if the user is deleted/active or loop through all the user groups to get the active users)

推荐答案

SharePoint没有"活跃用户"的概念。只要他们没有通过/_layouts/15/people.aspx?MembershipGroupId=0手动(或通过自动化流程;第三方工具,如Metalogix ControlPoint提供此功能)标记为已删除,他们将始终显示
网站集,无论其Active Directory(或其他用户存储)状态如何。
SharePoint has no concept of 'active users'. As long as they are not marked as deleted manually (or through an automated process; 3rd party tools like Metalogix ControlPoint offer this) via /_layouts/15/people.aspx?MembershipGroupId=0, they will always show up on the Site Collection regardless of their Active Directory (or other user store) status.


这篇关于SharePoint 2013内部部署 - 已删除的用户仍出现在_api / web / SiteUsers中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆