Table of Contents

Class ConsentManager

Namespace
Dynamicweb.DataProcessing
Assembly
Dynamicweb.Core.dll

A high level API for managing consents.

public class ConsentManager
Inheritance
ConsentManager
Inherited Members

Properties

Current

Gets the current instance of ConsentManager.

public static ConsentManager Current { get; }

Property Value

ConsentManager

The current instance of ConsentManager.

Email

Gets the email consent service.

public EmailSubjectConsentService Email { get; }

Property Value

EmailSubjectConsentService

The email consent service.

User

Gets the user consent service.

public UserSubjectConsentService User { get; }

Property Value

UserSubjectConsentService

The user consent service.

Visitor

Gets the visitor consent service.

public VisitorSubjectConsentService Visitor { get; }

Property Value

VisitorSubjectConsentService

The visitor consent service.

Methods

GetActivities()

Gets all activities.

public ICollection<Activity> GetActivities()

Returns

ICollection<Activity>

A collection of activities.

GetActivity(string)

Gets an activity by id.

public Activity? GetActivity(string activityId)

Parameters

activityId string

The activity identifier.

Returns

Activity

An instance of Activity, if found, otherwise null.

See Also

To top