Export (0) Print
Expand All

UserBase.Name Property

WCF RIA Services

[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 user name.

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

[KeyAttribute]
[ProfileUsageAttribute(IsExcluded = true)]
public string Name { get; set; }

Property Value

Type: System.String
The user name. The default is null.

Implements

IUser.Name
IIdentity.Name

This property must be set to a value other than null before it is serialized.

Show:
© 2014 Microsoft