Table of Contents

Class IdentityEmailMessageProviderParameters

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Represents parameters passed to the IdentityEmailMessageProviderDelegate.

public sealed class IdentityEmailMessageProviderParameters
Inheritance
object
IdentityEmailMessageProviderParameters
Extension Methods

Constructors

IdentityEmailMessageProviderParameters()

Initializes a new instance of the IdentityEmailMessageProviderParameters class.

public IdentityEmailMessageProviderParameters()

IdentityEmailMessageProviderParameters(EmailMessage, AdminApplicationUser, string)

Initializes a new instance of the IdentityEmailMessageProviderParameters class.

public IdentityEmailMessageProviderParameters(EmailMessage originalMessage, AdminApplicationUser user, string link)

Parameters

originalMessage EmailMessage

Original email message provided by the system.

user AdminApplicationUser

User for which the email is generated.

link string

Link to be included in the mess

Exceptions

ArgumentException

Thrown when link is null or empty.

ArgumentNullException

Thrown when originalMessage or user is null.

Properties

Link leading to administration interface, where the user performs an action (Registration, password reset etc.)

public string Link { get; set; }

Property Value

string

OriginalMessage

Original message generated by the system message the provider can adjust.

public EmailMessage OriginalMessage { get; }

Property Value

EmailMessage

User

User for which the email is generated.

public AdminApplicationUser User { get; set; }

Property Value

AdminApplicationUser