Прочетете на английски Редактиране

Споделяне чрез


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

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1