Uredi

Deli z drugimi prek


Forest.SetSelectiveAuthenticationStatus(String, Boolean) Method

Definition

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)

Parameters

targetForestName
String

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

enable
Boolean

true if selective authentication is to be enabled; otherwise, false.

Exceptions

There is no trust relationship with the forest 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