Domain.GetSelectiveAuthenticationStatus(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine le type d’authentification d’une approbation entrante.
public:
bool GetSelectiveAuthenticationStatus(System::String ^ targetDomainName);
public bool GetSelectiveAuthenticationStatus (string targetDomainName);
member this.GetSelectiveAuthenticationStatus : string -> bool
Public Function GetSelectiveAuthenticationStatus (targetDomainName As String) As Boolean
Paramètres
- targetDomainName
- String
Nom DNS du domaine avec lequel l’approbation existe.
Retours
true
si l’authentification de l’approbation est sélective ; false
si l’authentification est à l’échelle du domaine.
Exceptions
Il n’existe aucune relation d’approbation avec l’objet Forest spécifié par le paramètre targetForestName
.
Échec de l’appel à LsaQueryTrustedDomainInfoByName
. Pour plus d’informations, consultez LsaQueryTrustedDomainInfoByName.
Le serveur cible est occupé ou non disponible.
targetDomainName
est une chaîne vide.
targetDomainName
a la valeur null
.
L’objet actuel a été supprimé.
Le compte spécifié n'a pas l'autorisation d'effectuer cette opération.
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour