WebContextBase.User 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 a principal representing the authenticated identity.

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

Syntax

'Declaration
Protected ReadOnly Property User As IPrincipal
    Get
'Usage
Dim value As IPrincipal

value = Me.User
protected IPrincipal User { get; }
protected:
property IPrincipal^ User {
    IPrincipal^ get ();
}
member User : IPrincipal
function get User () : IPrincipal

Property Value

Type: System.Security.Principal.IPrincipal
A principal representing the authenticated identity.

Remarks

This property is the same as the User property of the authentication service.

See Also

Reference

WebContextBase Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace