Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberNotification

    Abstract base class for member authentication notifications such as login, logout, and login failure.

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

    Constructors

    View Source

    MemberNotification(string, Guid?)

    Initializes a new instance of the MemberNotification class.

    Declaration
    protected MemberNotification(string ipAddress, Guid? memberKey)
    Parameters
    Type Name Description
    string ipAddress

    The source IP address of the member performing the action.

    Guid? memberKey

    The key of the member affected by this action.

    Properties

    View Source

    DateTimeUtc

    Gets the date and time in UTC when this notification was created.

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

    IpAddress

    Gets the source IP address of the member performing the action.

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

    MemberKey

    Gets the key of the member affected by this action, or null if the member could not be found.

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