Compartilhar via


AuthenticationResult.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 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 AuthenticationResult
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 authenticated user.

See Also

Reference

AuthenticationResult Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace