Saml2Subject Constructor (Saml2NameIdentifier)

.NET Framework (current version)
 

Initializes a new instance of the Saml2Subject class with the specified Saml2NameIdentifier object.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Saml2Subject(
	Saml2NameIdentifier nameId
)

Parameters

nameId
Type: System.IdentityModel.Tokens.Saml2NameIdentifier

A Saml2NameIdentifier that represents the name identifier.

The NameId property is set to the value specified by the nameId parameter.

.NET Framework
Available since 4.5
Return to top
Show: