Forest.GetSidFilteringStatus(String) Method

Definition

Gets the SID filtering status of a trust.

public:
 bool GetSidFilteringStatus(System::String ^ targetForestName);
public bool GetSidFilteringStatus (string targetForestName);
member this.GetSidFilteringStatus : string -> bool
Public Function GetSidFilteringStatus (targetForestName As String) As Boolean

Parameters

targetForestName
String

The DNS name of the Forest object with which the trust relationship exists.

Returns

true if SID filtering is enabled; otherwise, false.

Exceptions

There is no trust relationship with the Forest object that is specified by targetForestName.

A call to the underlying directory service resulted in an error.

The target server is either busy or unavailable.

targetForestName is an empty string.

targetForestName is null.

The current object has been disposed.

The specified account does not have permission to perform this operation.

Applies to

See also