Click or drag to resize
IConsentAgreementServiceGetAgreedConsents Method
Returns agreed consents for the given contact.

Namespace: CMS.DataProtection
Assembly: CMS.DataProtection (in CMS.DataProtection.dll) Version: 11.0.0
Syntax
C#
IEnumerable<Consent> GetAgreedConsents(
	ContactInfo contact
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact.

Return Value

Type: IEnumerableConsent
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when contact is null.
Remarks
Only returns agreed consents, revoked consents are not included.
See Also