UserBase Class
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.]
Serves as the base class for user entities that pass principal values to the client.
Namespace: System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
The UserBase type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | IsAuthenticated | Gets a value indicating whether the user is authenticated. |
![]() | Name | Gets or sets the user name. |
![]() | Roles | Gets or sets the roles the user is a member of. |
| Name | Description | |
|---|---|---|
![]() ![]() | IIdentity.AuthenticationType | Gets the authentication type. |
![]() ![]() | IPrincipal.Identity | Gets the identity. |
This class is designed for use with the AuthenticationBase(Of T). It provides properties to support serialization of principal values to the domain context generated for any domain service extending AuthenticationBase(Of T) class. It also presents those values through the IPrincipal and IIdentity interfaces for use in shared authorization scenarios.
Show:

