共用方式為


New-FASTSearchSecurityRegexAliaser

Creates a regular expression aliaser.

語法

Default (預設值)

New-FASTSearchSecurityRegexAliaser
    [-InputUserStoreId] <String>
    [-OutputUserStoreIds] <String[]>
    [-Patterns] <System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Security.Config.RegExAliasPatternMapConfig]>
    [[-Identity] <String>]
    [[-CaseSensitive] <Boolean>]
    [[-UnicodeCaseSensitive] <Boolean>]
    [-ObjectToClone <SecurityRegexAliaser>]
    [<CommonParameters>]

Description

This cmdlet creates a regular expression aliaser to map users/groups from one user store to users/groups in other user stores, based on a regular expression pattern.

For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (https://go.microsoft.com/fwlink/?LinkId=163227).

範例

EXAMPLE 1 (FAST Server for SharePoint 2010)

New-FASTSearchSecurityRegexAliaserPattern -Regex .* -MapToUsername \1 | New-FASTSearchSecurityRegexAliaser -Identity regex1 -InputUserStoreId ln1 -OutputUserStoreIds ln2

This example creates a regular expression aliaser pattern object and pipes it into a New-FASTSearchSecurityRegexAliaser cmdlet to create a regular expression aliaser.

EXAMPLE 2 (FAST Server for SharePoint 2010)

New-FASTSearchSecurityRegexAliaserPattern -Regex .* -MapToUsername \1 | New-FASTSearchSecurityRegexAliaser -InputUserStoreId ln1 -OutputUserStoreIds ln2,ln3 -CaseSensitive $False -UnicodeCaseSensitive $False

This example creates a regular expression aliaser pattern object and pipes it into a New-FASTSearchSecurityRegexAliaser cmdlet to create a regular expression aliaser. The example sets the case-sensitive flags so pattern matching is performed in a case-insensitive manner. The OutputUserStoreIds parameter maps users/groups to two user stores: "ln2" and "ln3". The example generates the aliaser identity.

參數

-CaseSensitive

Applicable: FAST Server for SharePoint 2010

Specifies whether the regular expression patterns defined in the RegExAliasPatternMapConfig list are matched based on case sensitivity matching rules. The default is true.

參數屬性

類型:Boolean
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:5
必要:False
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Identity

Applicable: FAST Server for SharePoint 2010

The identity of the aliaser.

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:4
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-InputUserStoreId

Applicable: FAST Server for SharePoint 2010

The identity of the mapped-from user store.

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:1
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-ObjectToClone

Applicable: FAST Server for SharePoint 2010

A SecurityRegexAliaser object whose property values are used for the SecurityRegexAliaser aliaser being created.

參數屬性

類型:SecurityRegexAliaser
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-OutputUserStoreIds

Applicable: FAST Server for SharePoint 2010

A comma-separated list of mapped-to user store identities.

參數屬性

類型:

String[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:2
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Patterns

Applicable: FAST Server for SharePoint 2010

A list of RegExAliasPatternMapConfig instances containing the regular expression patterns used for the mapping.

參數屬性

類型:

System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Security.Config.RegExAliasPatternMapConfig]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:3
必要:True
來自管線的值:True
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-UnicodeCaseSensitive

Applicable: FAST Server for SharePoint 2010

Specifies whether the regular expressions patterns defined in the RegExAliasPatternMapConfig list are matched based on Unicode case sensitivity matching rules.

參數屬性

類型:Boolean
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:6
必要:False
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.