New-FASTSearchSecurityRegexAliaser

Creates a regular expression aliaser.

Syntax

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).

Examples

---------------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.

Parameters

-CaseSensitive

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

Type:Boolean
Position:5
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Identity

The identity of the aliaser.

Type:String
Position:4
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-InputUserStoreId

The identity of the mapped-from user store.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-ObjectToClone

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

Type:SecurityRegexAliaser
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-OutputUserStoreIds

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

Type:String[]
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Patterns

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

Type:System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Security.Config.RegExAliasPatternMapConfig]
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-UnicodeCaseSensitive

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

Type:Boolean
Position:6
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010