AuthenticationService.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 user.
Namespace: System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public ReadOnly Property User As IPrincipal
Get
'Usage
Dim instance As AuthenticationService
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
A principal representing the authenticated user.
Remarks
This property may be updated by the Login, Logout, and LoadUser operations. If none of the previous methods has completed successfully, this property will contain a default user.
See Also
Reference
System.ServiceModel.DomainServices.Client.ApplicationServices Namespace