Class NotificationUser
Represents a sender or a recipient in the notification system.
Implements
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class NotificationUser : Object, INotificationUser
Constructors
NotificationUser(String)
Creates a new instance of NotificationUser
Declaration
public NotificationUser(string userName)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | The userName for the user. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if userName is null or empty. |
Properties
DisplayName
The display name for the corresponding user.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserName
The userName for the corresponding user.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |