Class NotificationUser
Represents a sender or a recipient in the notification system.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class NotificationUser : 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 |