Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DataProtection Namespaces
CMS.DataProtection
IConsentAgreementService Interface
IConsentAgreementService Methods
Agree Method
GetAgreedConsents Method
IsAgreed Method
Revoke Method
IConsentAgreementService
GetAgreedConsents Method
Returns agreed consents for the given contact.
Namespace:
CMS.DataProtection
Assembly:
CMS.DataProtection (in CMS.DataProtection.dll) Version: 12.0.0
Syntax
C#
Copy
IEnumerable
<
Consent
>
GetAgreedConsents
(
ContactInfo
contact
)
Parameters
contact
Type:
CMS.ContactManagement
ContactInfo
Contact.
Return Value
Type:
IEnumerable
Consent
Exceptions
Exception
Condition
ArgumentNullException
Thrown when
contact
is
null
.
Remarks
Only returns agreed consents, revoked consents are not included.
See Also
Reference
IConsentAgreementService Interface
CMS.DataProtection Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com