ClaimsIdentity.ToString Method
Returns a string representation of the T:Microsoft.IdentityModel.Claims.ClaimsIdentity object.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ClaimsIdentity Dim returnValue As String returnValue = instance.ToString
Syntax
'Declaration
Public Overrides Function ToString As String
public override string ToString ()
public:
virtual String^ ToString () override
public String ToString ()
public override function ToString () : String
Rückgabewert
The string representation of the T:Microsoft.IdentityModel.Claims.ClaimsIdentity object.
Hinweise
The returned string contains the name of the current user.
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
ClaimsIdentity Class
ClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace