Forest.GetSidFilteringStatus(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.