UpnClaim Constructor (String)

 

Initializes a new instance of the UpnClaim class with the value of the claim.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public UpnClaim(
    string claimValue
)
public:
UpnClaim(
    String^ claimValue
)
new : 
        claimValue:string -> UpnClaim
Public Sub New (
    claimValue As String
)

Parameters

  • claimValue
    Type: System.String

    A String that contains the value of the claim.

Examples

The following Visual Basic example shows how to initialize a new instance of the UpnClaim class.

Dim upnClaim1 As New UpnClaim(“user@contoso.com”)

See Also

UpnClaim Overload
UpnClaim Class
System.Web.Security.SingleSignOn Namespace

Return to top