Class NotificationUser
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. 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: 9.12.2Syntax
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 |