WSHttpTransportSecurityElement.Realm 属性

定义

获取或设置一个字符串,它指定摘要式或基本身份验证的身份验证领域。

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

属性值

一个字符串,指定摘要式或基本身份验证的身份验证领域。 默认值为一个空字符串。

属性

注解

身份验证领域至少指定执行身份验证的主机的名称。 它还可以指定具有访问权限的用户的集合。 用户可以查询身份验证领域,以了解多个可能的用户名和密码中哪一个可以使用。

适用于