Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserLogoutSuccessNotification

    Notification that is published after a user has successfully logged out.

    Inheritance
    object
    UserNotification
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserLogoutSuccessNotification : UserNotification, INotification
    Remarks

    This notification is useful for audit logging and implementing custom sign-out redirect behavior.

    Constructors

    View Source

    UserLogoutSuccessNotification(string, string?, string)

    Initializes a new instance of the UserLogoutSuccessNotification class.

    Declaration
    public UserLogoutSuccessNotification(string ipAddress, string? affectedUserId, string performingUserId)
    Parameters
    Type Name Description
    string ipAddress

    The source IP address of the user logging out.

    string affectedUserId

    The ID of the user who logged out.

    string performingUserId

    The ID of the user performing the logout action.

    Properties

    View Source

    SignOutRedirectUrl

    Gets or sets the URL to redirect to after sign-out.

    Declaration
    public string? SignOutRedirectUrl { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Handlers can set this property to customize the redirect URL after the user logs out.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX