Set Selective Authentication Status(String, Boolean) Method
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.
Enables or disables selective authentication for an inbound trust.
public: void SetSelectiveAuthenticationStatus(System::String ^ targetForestName, bool enable);
public void SetSelectiveAuthenticationStatus (string targetForestName, bool enable);
member this.SetSelectiveAuthenticationStatus : string * bool -> unit
Public Sub SetSelectiveAuthenticationStatus (targetForestName As String, enable As Boolean)
The DNS name of the Forest object with which the inbound trust relationship exists.
true if selective authentication is to be enabled; otherwise,
There is no trust relationship with the forest that is specified by
A call to the underlying directory service resulted in an error.
The target server is either busy or unavailable.
targetForestName is an empty string.
The current object has been disposed.
The specified account does not have permission to perform this operation.