WebContextBase::User 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 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)

protected:
property IPrincipal^ User {
	IPrincipal^ get ();
}

Property Value

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

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

Show: