Share via


LoginParameters.UserName Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the name of the user to be authenticated.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public ReadOnly Property UserName As String
    Get
'Usage
Dim instance As LoginParameters
Dim value As String

value = instance.UserName
public string UserName { get; }
public:
property String^ UserName {
    String^ get ();
}
member UserName : string
function get UserName () : String

Property Value

Type: System.String
The name of the user to be authenticated.

See Also

Reference

LoginParameters Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace