Class NotificationUser
Represents a sender or a recipient in the notification system. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
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: 8.11.0Syntax
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 |