Set-FASTSearchSecurityRegexAliaser
更新正则表达式别名程序。
语法
Default (默认值)
Set-FASTSearchSecurityRegexAliaser
[-Identity] <String>
[-CaseSensitive <Boolean>]
[-InputUserStoreId <String>]
[-OutputUserStoreIds <String[]>]
[-Patterns <System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Security.Config.RegExAliasPatternMapConfig]>]
[-RegexAliaser <SecurityRegexAliaser>]
[-UnicodeCaseSensitive <Boolean>]
[<CommonParameters>]
说明
此 cmdlet 更新正则表达式别名程序的配置设置,以根据正则表达式模式将一个用户存储中的用户/组映射到其他用户存储中的用户/组。
有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
示例
示例 1 (FAST Server for SharePoint 2010)
Set-FASTSearchSecurityRegexAliaser -Identity regex1 -OutputUserStoreIds ln2, ln3
此示例修改“regex1”正则表达式别名的输出用户存储 ID。
示例 2 (FAST Server for SharePoint 2010)
New-FASTSearchSecurityRegexAliaserPattern -Regex .* -InputPropertyName mail -MapToUsername "\1" | Set-FASTSearchSecurityRegexAliaser -Identity regexalias1
本示例设置正则表达式别名“regexalias1”的正则表达式模式。 正则表达式模式可用于将Microsoft用户存储的“mail”属性映射到其他用户存储中的标识。
参数
-CaseSensitive
适用:FAST Server for SharePoint 2010
指定在 RegExAliasPatternMapConfig 列表中定义的正则表达式模式是否根据区分大小写匹配规则进行匹配。 默认值为 True。
参数属性
| 类型: | Boolean |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Identity
适用:FAST Server for SharePoint 2010
要更新的别名程序的标识。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 1 |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
-InputUserStoreId
适用:FAST Server for SharePoint 2010
映射源用户存储的标识。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-OutputUserStoreIds
适用:FAST Server for SharePoint 2010
以逗号分隔的映射目标用户存储标识的列表。
参数属性
| 类型: | String[] |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Patterns
适用:FAST Server for SharePoint 2010
包含用于映射的正则表达式模式的 RegExAliasPatternMapConfig 实例的列表。
使用 New-RegExAliasPatternMapConfig cmdlet 来创建模式。
参数属性
| 类型: | System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Security.Config.RegExAliasPatternMapConfig] |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-RegexAliaser
适用:FAST Server for SharePoint 2010
其属性值将用于要创建的 SecurityRegexAliaser 别名程序的 SecurityRegexAliaser 对象。
参数属性
| 类型: | SecurityRegexAliaser |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-UnicodeCaseSensitive
适用:FAST Server for SharePoint 2010
指定在 RegExAliasPatternMapConfig 列表中定义的正则表达式模式是否根据 Unicode 区分大小写匹配规则进行匹配。
参数属性
| 类型: | Boolean |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。