Forest.SetSelectiveAuthenticationStatus(String, Boolean) Méthode

Définition

Active ou désactive l’authentification sélective pour une approbation entrante.

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)

Paramètres

targetForestName
String

Nom DNS de l’objet Forest avec lequel la relation d’approbation entrante existe.

enable
Boolean

true si l’authentification sélective doit être activée ; sinon, false.

Exceptions

Il n’existe aucune relation d’approbation avec la forêt spécifiée par targetForestName.

Un appel au service d’annuaire sous-jacent a entraîné une erreur.

Le serveur cible est occupé ou indisponible.

targetForestName est une chaîne vide.

targetForestName a la valeur null.

L’objet actuel a été supprimé.

Le compte spécifié n’est pas autorisé à effectuer cette opération.

S’applique à

Voir aussi