Set-FASTSearchSecurityPublicFilter

 

Applies to: SharePoint Server 2010

Updates the public filter general setting.

Syntax

Set-FASTSearchSecurityPublicFilter [[-Filter] <String>]

Set-FASTSearchSecurityPublicFilter [[-GeneralSetting] <PublicFilterSetting>]

Detailed Description

This cmdlet updates the public filter general setting configuration. The public filter is the search security filter that is used to find documents that all users have access to.

Parameters

Parameter Required Type Description

Filter

Optional

System.String

The search security filter that is used to find documents that all users have access to.

GeneralSetting

Optional

Microsoft.SharePoint.Search.Extended.Security.PowerShell.Commands.GeneralSettings.PublicFilterSetting

A PublicFilterSetting whose property values are used for the PublicFilterSetting being updated.

Input Types

Return Types

Example

---------------EXAMPLE 1-----------------

Set-FASTSearchSecurityPublicFilter -Filter docacl:unknown

This example updates the search security filter that is used to find documents that all users have access to.

---------------EXAMPLE 2-----------------

$pubfilter | Set-FASTSearchSecurityPublicFilter

This example updates the public filter setting using values from a pipeline GeneralSetting parameter.

In this example, the $pubfilter GeneralSetting was created with this command: $pubfilter = Get-FASTSearchSecurityPublicFilter.

See Also

Reference

Get-FASTSearchSecurityPublicFilter