Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserNotification

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

    Constructors

    View Source

    UserNotification(string, string?, string)

    Declaration
    protected UserNotification(string ipAddress, string? affectedUserId, string performingUserId)
    Parameters
    Type Name Description
    string ipAddress
    string affectedUserId
    string performingUserId

    Properties

    View Source

    AffectedUserId

    The user affected by the event raised

    Declaration
    public string? AffectedUserId { get; }
    Property Value
    Type Description
    string
    View Source

    DateTimeUtc

    Current date/time in UTC format

    Declaration
    public DateTime DateTimeUtc { get; }
    Property Value
    Type Description
    DateTime
    View Source

    IpAddress

    The source IP address of the user performing the action

    Declaration
    public string IpAddress { get; }
    Property Value
    Type Description
    string
    View Source

    PerformingUserId

    If a user is performing an action on a different user, then this will be set. Otherwise it will be -1

    Declaration
    public string PerformingUserId { get; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX