Click or drag to resize

StandardUserOnBeforeExtranetLogOffArgs Class

Provides information about the user
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.NotificationsStandardUserOnBeforeExtranetLogOffArgs

Namespace:  Dynamicweb.Notifications
Assembly:  Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax
public class OnBeforeExtranetLogOffArgs : NotificationArgs

The StandardUserOnBeforeExtranetLogOffArgs type exposes the following members.

Constructors
  NameDescription
Public methodStandardUserOnBeforeExtranetLogOffArgs
Initializes a new instance of the StandardUserOnBeforeExtranetLogOffArgs class
Top
Properties
  NameDescription
Public propertyUser
Top
Remarks
Examples
C#
namespace Dynamicweb.Examples.Notifications.Standard
{
    [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogOff)]
    public class OnBeforeExtranetLogOffObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
    {
        public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
        {
            if (args == null)
                return;

            Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogOffArgs onBeforeExtranetLogOffArgs = args as Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogOffArgs;

            //Add code here

        }
    }
}
See Also