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.String | ipAddress | |
System.String | affectedUserId | |
System.String | performingUserId |
Properties
View SourceAffectedUserId
The user affected by the event raised
Declaration
public string AffectedUserId { get; }
Property Value
Type | Description |
---|---|
System.String |
DateTimeUtc
Current date/time in UTC format
Declaration
public DateTime DateTimeUtc { get; }
Property Value
Type | Description |
---|---|
DateTime |
IpAddress
The source IP address of the user performing the action
Declaration
public string IpAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |