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 is null)
            return;

        Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogOffArgs? onBeforeExtranetLogOffArgs = args as Dynamicweb.Notifications.Standard.User.OnBeforeExtranetLogOffArgs;
        if (onBeforeExtranetLogOffArgs is null)
            return;

        //Add code here

    }
}

Remarks

Properties

User

public required User User { get; init; }

Property Value

User
To top