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 SourceMemberNotification(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 SourceDateTimeUtc
Gets the date and time in UTC when this notification was created.
Declaration
public DateTime DateTimeUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
IpAddress
Gets the source IP address of the member performing the action.
Declaration
public string IpAddress { get; }
Property Value
| Type | Description |
|---|---|
| string |
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? |