Forest.SetSidFilteringStatus(String, Boolean) 方法

定義

以指定樹系設定 SID 篩選狀態。

public:
 void SetSidFilteringStatus(System::String ^ targetForestName, bool enable);
public void SetSidFilteringStatus (string targetForestName, bool enable);
member this.SetSidFilteringStatus : string * bool -> unit
Public Sub SetSidFilteringStatus (targetForestName As String, enable As Boolean)

參數

targetForestName
String

存在信任關係之 Forest 物件的 DNS 名稱。

enable
Boolean

如果要啟用 SID 篩選,則為 true,否則為 false

例外狀況

targetForestName 指定的樹系之間沒有信任關係。

呼叫基礎目錄服務時,發生錯誤。

目標伺服器忙碌或無法使用。

targetForestName 為空字串。

targetForestNamenull

目前的物件已經處置。

備註

根據預設,Windows Server 2003 中的新外部和樹系信任 Active Directory 網域服務 強制執行 SID 篩選。 SID 篩選可用來防止惡意使用者的攻擊,這些使用者可能會嘗試將提升許可權授與另一個用戶帳戶。 在樹系信任上強制執行 SID 篩選,並不會防止移轉至相同樹系內的網域,而不會影響您的通用群組訪問控制策略。

適用於

另請參閱