SaaS CMS has officially launched! Learn more now.

Class NotificationUser

Represents a sender or a recipient in the notification system.

Inheritance
System.Object
NotificationUser
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.7
Syntax
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

Implements

Extension Methods