Set-FASTSearchSecurityDefaultUserStore
匯報 預設使用者存放區一般設定。
語法
ProcessId
Set-FASTSearchSecurityDefaultUserStore
[[-DefaultUserStoreId] <String>]
[<CommonParameters>]
ProcessGeneralSetting
Set-FASTSearchSecurityDefaultUserStore
[[-GeneralSetting] <DefaultUserStoreSetting>]
[<CommonParameters>]
Description
此 Cmdlet 會更新要查閱使用者和群組的使用者存放區身分識別,以判斷在查閱使用者或群組時未指定使用者存放區身分識別時的適當檔存取。
如需 FAST Search Server 2010 for SharePoint Cmdlet 的許可權和最新資訊,請參閱在線檔 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
範例
範例 1 (FAST Server for SharePoint 2010)
Set-FASTSearchSecurityDefaultUserStore -DefaultUserStoreId win
本範例會將預設使用者存放區設定為 「win」。。
範例 2 (FAST Server for SharePoint 2010)
C:\PS>$defuserstore | Set-FASTSearchSecurityDefaultUserStore
此範例會使用管線 GeneralSetting 參數中的值來更新預設使用者存放區。
在此範例中,會使用下列命令建立$defuserstoreGeneralSetting:$defuserstore = Get-FASTSearchSecurityDefaultUserStore。
參數
-DefaultUserStoreId
適用:FAST Server for SharePoint 2010
要設定為預設使用者存放區的使用者存放區身分識別。
參數屬性
| 類型: | String |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
ProcessId
| Position: | 1 |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-GeneralSetting
適用:FAST Server for SharePoint 2010
DefaultUserStoreSettinginstance,其屬性值用於要更新的 DefaultUserStoreSetting。
參數屬性
| 類型: | DefaultUserStoreSetting |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
ProcessGeneralSetting
| Position: | 9999 |
| 必要: | False |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。