Remove-FASTSearchSecurityUserStore
Applies to: SharePoint Server 2010
Removes a user store.
Syntax
Remove-FASTSearchSecurityUserStore [-Identity] <String> [[-SecurityUserStoreToRemove] <SecurityUserStore>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
Detailed Description
This cmdlet deletes a security user store. The user store may be a Lotus Notes, Microsoft, or claims user store.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
System.String |
The identity of the user store to remove. |
SecurityUserStoreToRemove |
Optional |
Microsoft.SharePoint.Search.Extended.Security.PowerShell.Commands.SecurityUserStore |
A MicrosoftUserStore, LotusNotesUserStore, or ClaimsUserStore instance whose identity is used to remove the user store. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
Activates user prompting to confirm the operation. If set, prompting is activated and you must confirm the remove request. To suppress user prompting, set the confirm parameter to false. For example: - |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters |
Input Types
Return Types
Example
---------------EXAMPLE 1-----------------
Remove-FASTSearchSecurityUserStore -Identity wn1
This example deletes the “wn1” user store. A prompt is displayed to confirm the request.
---------------EXAMPLE 2-----------------
Get-FASTSearchSecurityLotusNotesUserStore ln2 | remove-FASTSearchSecurityUserStore
This example deletes the user store specified by a piped SecurityUserStoreToRemove instance. A prompt is displayed to confirm the request.