Identifies the subject. [Saml2Core, 2.4.1]
Namespace: Microsoft.IdentityModel.Tokens.Saml2
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As Saml2Subject
Dim value As Saml2NameIdentifier

value = instance.NameId

instance.NameId = value

Syntax

Visual Basic
Public Property NameId As Saml2NameIdentifier
C#
public Saml2NameIdentifier NameId { get; set; }
C++
public:
property Saml2NameIdentifier^ NameId {
		Saml2NameIdentifier^ get ();
		void set (Saml2NameIdentifier^ value);
}
J#
/** @property */
public Saml2NameIdentifier get_NameId ()

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

public function set NameId (value : Saml2NameIdentifier)

Property Value

Returns a Saml2NameIdentifier.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also