DomainServiceContext.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 the user for this context instance.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public ReadOnly Property User As IPrincipal
Get
'Usage
Dim instance As DomainServiceContext
Dim value As IPrincipal
value = instance.User
public IPrincipal User { get; }
public:
property IPrincipal^ User {
IPrincipal^ get ();
}
member User : IPrincipal
function get User () : IPrincipal
Property Value
Type: System.Security.Principal.IPrincipal
The user for this context instance.