Class UserNotification
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public abstract class UserNotification : INotification
Constructors
View SourceUserNotification(String, String, String)
Declaration
protected UserNotification(string ipAddress, string affectedUserId, string performingUserId)
Parameters
Type | Name | Description |
---|---|---|
System. |
ipAddress | |
System. |
affectedUserId | |
System. |
performingUserId |
Properties
View SourceAffectedUserId
The user affected by the event raised
Declaration
public string AffectedUserId { get; }
Property Value
Type | Description |
---|---|
System. |
DateTimeUtc
Current date/time in UTC format
Declaration
public DateTime DateTimeUtc { get; }
Property Value
Type | Description |
---|---|
Date |
IpAddress
The source IP address of the user performing the action
Declaration
public string IpAddress { get; }
Property Value
Type | Description |
---|---|
System. |
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. |