WSFederationAuthenticationModule.Realm 属性

This is a required property if PassiveRedirectEnabled is set to true. Get or set a required property that is a URI identifying the relying party to the STS. (For identifying the STS to the RP, see Issuer).

命名空间: Microsoft.IdentityModel.Web
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As WSFederationAuthenticationModule
Dim value As String

value = instance.Realm

instance.Realm = value

语法

声明
Public Property Realm As String
public string Realm { get; set; }
public:
property String^ Realm {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Realm ()

/** @property */
public void set_Realm (String value)
public function get Realm () : String

public function set Realm (value : String)

属性值

Returns String.

备注

The value of this property manifests itself as the wtrealm query string parameter in WS-Federation protocol. It is used by the Security Token Service to decide what policy to apply for token issuance and where to redirect the user to after token issuance.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

WSFederationAuthenticationModule 类
WSFederationAuthenticationModule 成员
Microsoft.IdentityModel.Web 命名空间