This topic has not yet been rated - Rate this topic

SamlNameIdentifierClaimResource Class

Represents a claim for a SAML security token that asserts the subject's name.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)
[DataContractAttribute]
public ref class SamlNameIdentifierClaimResource

Use the SamlNameIdentifierClaimResource class to create a Claim instance for a SamlSecurityToken subject name claim. The Claim class has a constructor that takes a resource, which this class can be passed to.

SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify the subject of the security token. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a SamlSubjectStatement. A SamlSubjectStatement asserts the principal that is the subject of the SamlSecurityToken security token. This principal is specified using a SamlSubject class. The SamlNameIdentifierClaimResource class represents the name identifier for a SamlSubject.

System::Object
  System.IdentityModel.Tokens::SamlNameIdentifierClaimResource
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.