Share via


UpnClaim.UPN Property

 

Gets or sets the user principal name (UPN) value for this UpnClaim.

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

Syntax

public string UPN { get; set; }
public:
property String^ UPN {
    String^ get();
    void set(String^ value);
}
member UPN : string with get, set
Public Property UPN As String

Property Value

Type: System.String

The user principal name (UPN) value.

Exceptions

Exception Condition
ArgumentNullException

A null argument (Nothing in Visual Basic) is passed in WebSsoConfigurationException if a zero length string is passed in.

See Also

UpnClaim Class
System.Web.Security.SingleSignOn Namespace

Return to top