Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SamlNameIdentifierClaimResource.SamlNameIdentifierClaimResource Constructor

Initializes a new instance of the SamlNameIdentifierClaimResource class using the specified name, the domain in which the name resides, and the format the name is in.

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

public SamlNameIdentifierClaimResource (
	string name,
	string nameQualifier,
	string format
)
public SamlNameIdentifierClaimResource (
	String name, 
	String nameQualifier, 
	String format
)
public function SamlNameIdentifierClaimResource (
	name : String, 
	nameQualifier : String, 
	format : String
)
Not applicable.

Parameters

name

The subject name. Sets the Name property.

nameQualifier

The domain in which the name parameter resides. Sets the NameQualifier property.

format

A URI reference that represents the format that the name parameter is in. Sets the Format property.

Exception typeCondition

ArgumentNullException

name is a null reference (Nothing in Visual Basic) or is Empty.

Although the format used to specify a name is extensible, the following table lists the formats defined by the SAML specification.

Format

Description

EmailNamespace

A URI that states the subject of a SAML assertion is specified as an email address.

UserNameNamespace

A URI that states the subject of a SAML assertion is specified using a Windows domain account.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.