Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserNotification

    Inheritance
    System.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
    System.String ipAddress
    System.String affectedUserId
    System.String performingUserId

    Properties

    View Source

    AffectedUserId

    The user affected by the event raised

    Declaration
    public string AffectedUserId { get; }
    Property Value
    Type Description
    System.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
    System.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
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UserNotification(String, String, String)
    • Properties
      • AffectedUserId
      • DateTimeUtc
      • IpAddress
      • PerformingUserId
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX