AuthenticationService.LoggedIn Event

[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.]

Occurs when a new user is successfully logged in.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Event LoggedIn As EventHandler(Of AuthenticationEventArgs)
'Usage
Dim instance As AuthenticationService
Dim handler As EventHandler(Of AuthenticationEventArgs)

AddHandler instance.LoggedIn, handler
public event EventHandler<AuthenticationEventArgs> LoggedIn
public:
 event EventHandler<AuthenticationEventArgs^>^ LoggedIn {
    void add (EventHandler<AuthenticationEventArgs^>^ value);
    void remove (EventHandler<AuthenticationEventArgs^>^ value);
}
member LoggedIn : IEvent<EventHandler<AuthenticationEventArgs>,
    AuthenticationEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event is raised either when User changes from anonymous to authenticated or when it changes from one authenticated identity to another.

See Also

Reference

AuthenticationService Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace