Saml2Subject.NameId 属性

Identifies the subject. [Saml2Core, 2.4.1]

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

用法

    Dim instance As Saml2Subject
Dim value As Saml2NameIdentifier

value = instance.NameId

instance.NameId = value

语法

声明
Public Property NameId As Saml2NameIdentifier
public Saml2NameIdentifier NameId { get; set; }
public:
property Saml2NameIdentifier^ NameId {
    Saml2NameIdentifier^ get ();
    void set (Saml2NameIdentifier^ value);
}
/** @property */
public Saml2NameIdentifier get_NameId ()

/** @property */
public void set_NameId (Saml2NameIdentifier value)
public function get NameId () : Saml2NameIdentifier

public function set NameId (value : Saml2NameIdentifier)

属性值

Returns a Saml2NameIdentifier.

线程安全

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

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

Saml2Subject 类
Saml2Subject 成员
Microsoft.IdentityModel.Tokens.Saml2 命名空间