GenericIdentity.AuthenticationType Property

 

Gets the type of authentication used to identify the user.

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

public override string AuthenticationType { get; }

Property Value

Type: System.String

The type of authentication used to identify the user.

The following code shows the use of the AuthenticationType property. This code example is part of a larger example provided for the GenericIdentity class.

string identityAuthenticationType = 
    genericIdentity.AuthenticationType;

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: