Sharepoint 2013不要移动spuser [英] Sharepoint 2013 don't moves spuser

查看:42
本文介绍了Sharepoint 2013不要移动spuser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我的公司AD用户管理有麻烦.

Hello, I have trouble with my company AD user management.

当员工更换职位时,有一个策略,通过该策略,域中的当前用户条目将重命名为samaccountname并标记为已禁用.然后管理员使用与旧帐户相同的samaccountname创建新的用户条目.因此,用户已移至 新职位失去了他的旧权限,但使用他的旧名称登录.

When employee changes position, there is a policy, by it in domain current user entry gets renamed samaccountname and marks as disabled. Then  administrator creates new user entry with samaccountname same as it was on old account. So user, moved to the new position loses his old permissions, but logins with his old name.

问题是,如果该用户尝试登录到SP门户,则其旧的内部条目将被静默删除,并生成新的条目.之后,对已删除用户的所有查找将不会被删除,但将是无效的,并且在交互时会生成异常.

The problem is when that if that user try to login to the SP portal, his old internal entry will be silently removed, and generated new one. After that all lookups to on removed user wont be removed but will be invalid, generating exceptions when interacted.

我试图通过使用Move-SPUser命令将spuser移动到原样的帐户名来解决此问题.但是SP什么也没做,甚至没有抛出任何异常.输入下一个用户后,当前用户条目将被删除,并生成新的条目.

I tried to resolve this issue by moving spuser with Move-SPUser command, to the same account name as is was. But SP did nothing, even did not throw any exception. After next user enter current user entry gets deleted and new one generates.

有人可以帮我解决这个问题吗?

Could someone help me with this problem?

推荐答案

Evgeniy k94,

在您的帖子中:当员工更换职位时,有一个策略,该策略在域中将当前用户条目重命名为samaccountname并标记为已禁用.然后,管理员使用与旧帐户相同的samaccountname创建新的用户条目.

为什么不只是禁用用户并再次启用用户呢?

根据我的测试,如果我重命名了帐户并禁用了该帐户,然后使用旧帐户创建新帐户,则在我授予新创建的帐户权限后,新创建的帐户可以访问该网站.

最好的问候,

陈丽莎


Hi Evgeniy k94, 

From your post: when employee changes position, there is a policy, by it in domain current user entry gets renamed samaccountname and marks as disabled. Then administrator creates new user entry with samaccountname same as it was on old account. 

Why not just disable the user and enable the user again?

Per my test, if i renamed the account and disabled the account,  then create new account with old account, after i grant permission for the newly created account, the newly created account can access to the site. 

Best Regards, 

Lisa Chen 



这篇关于Sharepoint 2013不要移动spuser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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