关于Convert-SPWebApplication的问题 [英] Question about Convert-SPWebApplication

查看:47
本文介绍了关于Convert-SPWebApplication的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的情况是,网站集同时包含同一用户的声明用户和Windows帐户用户,并且我需要将两者合并到声明版本中.

I have a situation where a site collection contains users for both claims and windows accounts for the same person, and i need to merge both into the claims version.

Move-SPUser有2个问题...

There are 2 problems with Move-SPUser...

1)它没有检测到Windows帐户的存在-我认为因为该网络应用仅是声明.

1) It doesn't detect the existence of the windows accounts - i assume  because the web-app is claims only.

2)作为迁移的一部分,它将删除声明用户的现有权限/历史记录

2) It would remove the existing permissions/history of the claims user as part of the move

所以我遇到了Convert-SPWebApplication,我知道它将解决问题1,但会解决问题2吗?也就是说,在转换Windows用户之前,它还会检查是否存在声明用户,如果检测到,则将其删除?

So i came across Convert-SPWebApplication which i know will resolve problem 1, but will it resolve problem 2? ie, will it also check for the existence of a claims user, and if it detects it, remove it, before converting the windows user?

背景:

该Web应用程序始终仅是声明.在域迁移​​期间将要转换为的帐户指定为Windows帐户而不是声明时,创建了数十个Windows帐户.因此,Windows用户具有权限/历史记录.但在 在发生这种情况到通知我的这段时间之间,几位管理员通过添加声明用户并获得许可来手动修复了某些站点上的用户访问权限.

The web-app has always been claims only. A couple of dozen windows accounts were created when during a domain migration the account to convert to was specified as a windows account rather than claims. So the windows user has permissions/history. But, in the period between this happening and me being informed several admins have manually fixed user access on some sites by adding the claims user and permissioning it.

谢谢

马丁

推荐答案

mmc071dotnet,

Hi mmc071dotnet, 

Convert-SPWebApplication cmdlet用于将Web应用程序的身份验证模式转换为Windows Claims身份验证模式,并将内容数据库中的用户帐户迁移到声明的编码值.

Convert-SPWebApplication cmdlet is used to convert the authentication mode of a Web application to Windows Claims authentication mode and migrate the user accounts in the content database to claims encoded values.

保留权限时,仅在源帐户已启用且可由SharePoint查询的情况下,才转换站点内的用户.例如,如果在从经典Windows到Windows声明转换之前删除或禁用了Active Directory帐户,则 数据库中的帐户不会更新为声明"格式.

When retaining permissions, users within Sites are only converted if the source account is enabled and queryable by SharePoint. For example, if the Active Directory account is deleted or disabled prior to a Classic Windows to Windows Claims conversion, the account in the database will not be updated to the Claims format.

有关更多详细信息,请参阅以下有关Convert-SPWebApplication的文章:

For more detailed information, refer to the following article about Convert-SPWebApplication:

https://docs.microsoft.com /en-us/powershell/module/sharepoint-server/convert-spwebapplication?view = sharepoint-ps

最好的问候

Lisa Chen

Lisa Chen


这篇关于关于Convert-SPWebApplication的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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