Share via


WSHttpTransportSecurityElement.Realm Propriété

Définition

Obtient ou définit une chaîne qui spécifie le domaine d'authentification pour l'authentification Digest ou de base.

public:
 property System::String ^ Realm { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("realm", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string Realm { get; set; }
[<System.Configuration.ConfigurationProperty("realm", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Realm : string with get, set
Public Property Realm As String

Valeur de propriété

Chaîne indiquant le domaine de l’authentification de base ou Digest. La valeur par défaut est une chaîne vide.

Attributs

Remarques

Un domaine d'authentification spécifie au moins le nom de l'hôte qui exécute l'authentification. Il peut également spécifier une collection d’utilisateurs disposant d’un accès. Un utilisateur peut interroger le domaine d'authentification pour déterminer les nom d'utilisateur et mot de passe qui peuvent être utilisés.

S’applique à