Xperience 13 API Reference
Xperience 13 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: 13.0.131
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) 2023 Kentico Software
Send comments on this topic to
support@kentico.com