IUser.Name 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 or sets the name.

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

Syntax

'Declaration
Property Name As String
    Get
    Set
'Usage
Dim instance As IUser
Dim value As String

value = instance.Name

instance.Name = value
string Name { get; set; }
property String^ Name {
    String^ get ();
    void set (String^ value);
}
abstract Name : string with get, set
function get Name () : String
function set Name (value : String)

Property Value

Type: System.String
The name of the user.

Remarks

The name of the user. May be nulla null reference (Nothing in Visual Basic) or empty to support anonymous users.

See Also

Reference

IUser Interface

System.ServiceModel.DomainServices.Server.ApplicationServices Namespace