MembershipUser.ToString Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the user name for the membership user.

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

public override string ToString()

Return Value

Type: System.String

The UserName for the membership user.

.NET Framework
Available since 2.0
Return to top