Compartilhar via


AuthenticationOperation.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 principal.

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 AuthenticationOperation
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 principal. The value is nulla null reference (Nothing in Visual Basic) before the operation completes if the operation is canceled, or if the operation has errors.

See Also

Reference

AuthenticationOperation Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace