Επεξεργασία

Κοινή χρήση μέσω


SamlNameIdentifierClaimResource(String, String, String) Constructor

Definition

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.

public:
 SamlNameIdentifierClaimResource(System::String ^ name, System::String ^ nameQualifier, System::String ^ format);
public SamlNameIdentifierClaimResource (string name, string nameQualifier, string format);
new System.IdentityModel.Tokens.SamlNameIdentifierClaimResource : string * string * string -> System.IdentityModel.Tokens.SamlNameIdentifierClaimResource
Public Sub New (name As String, nameQualifier As String, format As String)

Parameters

name
String

The subject name. Sets the Name property.

nameQualifier
String

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

format
String

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

Exceptions

name is null or is Empty.

Remarks

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.

Applies to