A service for handling lawful data processing requirements
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic interface IConsentService : IService
Methods View Source LookupConsent(String, String, String, Boolean, Boolean, Boolean, Boolean)
Retrieves consents.
DeclarationIEnumerable<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 contextThe optional context.
System.String actionThe optional action.
System.Boolean sourceStartsWithDetermines whether source
is a start pattern.
Determines whether context
is a start pattern.
Determines whether action
is a start pattern.
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.
DeclarationIConsent 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 stateThe state of the consent.
System.String commentAdditional free text.
Returns Type Description IConsentThe 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