Table of Contents

Class Standard.User.OnBeforeExtranetLogOffArgs

Namespace
Dynamicweb.Notifications
Assembly
Dynamicweb.dll
Provides information about the user
public class Standard.User.OnBeforeExtranetLogOffArgs : NotificationArgs
Inheritance
Standard.User.OnBeforeExtranetLogOffArgs
Inherited Members

Examples

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

        }
    }
}

Remarks

Properties

User

public User User { get; }

Property Value

User
To top