UserName Property
Collapse the table of content
Expand the table of content

UserValidatedEventArgs.UserName Property

Gets the user name of the validated user.

Namespace:  System.Web.ClientServices.Providers
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public function get UserName () : String

Property Value

Type: System.String
The user name of the validated user.

The following example code demonstrates how to use this property to display the user name in the title bar of a form.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

© 2016 Microsoft