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 qui avec 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 celle Forest spécifiée par le targetDomainName paramètre.
Échec de l’appel LsaQueryTrustedDomainInfoByName . Pour plus d’informations, consultez LsaQueryTrustedDomainInfoByName.
Le serveur cible est occupé ou indisponible.
targetDomainName est une chaîne vide.
targetDomainName a la valeur null.
L’objet actuel a été supprimé.
Le compte spécifié n’est pas autorisé à effectuer cette opération.