Export (0) Print
Expand All

ClaimsIdentity::IsAuthenticated Property

.NET Framework 4.6 and 4.5

Gets a value that indicates whether the identity has been authenticated.

Namespace:  System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual property bool IsAuthenticated {
	bool get ();
}

Property Value

Type: System::Boolean
true if the identity has been authenticated; otherwise, false.

Implements

IIdentity::IsAuthenticated

true if the AuthenticationType property is not nullptr or an empty string.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft