Class ConsentManager
- Namespace
- Dynamicweb.DataProcessing
- Assembly
- Dynamicweb.DataProcessing.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.
- See Also
Gets the email consent service.
public EmailSubjectConsentService Email { get; }
Property Value
- EmailSubjectConsentService
- The email consent service.
- See Also
User
Gets the user consent service.
public UserSubjectConsentService User { get; }
Property Value
- UserSubjectConsentService
- The user consent service.
- See Also
Visitor
Gets the visitor consent service.
public VisitorSubjectConsentService Visitor { get; }
Property Value
- VisitorSubjectConsentService
- The visitor consent service.
- See Also
Methods
GetActivities()
Gets all activities.
public ICollection<Activity> GetActivities()
Returns
- ICollection<Activity>
- A collection of activities.
- See Also
GetActivity(string)
Gets an activity by id.
public Activity GetActivity(string activityId)
Parameters
activityId
string- The activity identifier.
Returns
- See Also