A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.IConsentService.html below:

View Source Interface IConsentService

A service for handling lawful data processing requirements

Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntax
public interface IConsentService : IService
Methods View Source LookupConsent(String, String, String, Boolean, Boolean, Boolean, Boolean)

Retrieves consents.

Declaration
IEnumerable<IConsent> LookupConsent(string source = null, string context = null, string action = null, bool sourceStartsWith = false, bool contextStartsWith = false, bool actionStartsWith = false, bool includeHistory = false)
Parameters Type Name Description System.String source

The optional source.

System.String context

The optional context.

System.String action

The optional action.

System.Boolean sourceStartsWith

Determines whether source is a start pattern.

System.Boolean contextStartsWith

Determines whether context is a start pattern.

System.Boolean actionStartsWith

Determines whether action is a start pattern.

System.Boolean includeHistory

Determines whether to include the history of consents.

Returns Type Description IEnumerable<IConsent>

Consents matching the parameters.

View Source RegisterConsent(String, String, String, ConsentState, String)

Registers consent.

Declaration
IConsent RegisterConsent(string source, string context, string action, ConsentState state, string comment = null)
Parameters Type Name Description System.String source

The source, i.e. whoever is consenting.

System.String context System.String action ConsentState state

The state of the consent.

System.String comment

Additional free text.

Returns Type Description IConsent

The corresponding consent entity.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4