Share via


SingleSignOnIdentity.Name Property

 

Used by the Web application to get the default name of the client authenticated using the WS-Federation Passive Requester Profile. This is the primary identity claim in the user’s security token.

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

Syntax

public string Name { get; }
public:
property String^ Name {
    virtual String^ get() sealed;
}
abstract Name : string with get
override Name : string with get
Public ReadOnly Property Name As String

Property Value

Type: System.String

If authentication is not required and the client was not actually authenticated, the name will be "Anonymous".

Implements

IIdentity.Name

See Also

SingleSignOnIdentity Class
System.Web.Security.SingleSignOn Namespace

Return to top