Continuing with the series about the Sitecore 8.2 Update 7 and the GDPR, the next topic is the right to be informed. It is described in the article 12 and 13 at General Data Protection Regulation site.
The individuals have the right to be informed about the collection and use of their personal data. The sites and applications must provide individuals with information including the purpose for processing their personal data, retention periods for that personal data, and who it will be shared with.
IContact contact = GetContact(); // Method to get the contact
IGdprStatus gdprStatus = contact.GetFacet<IGdprStatus>("GdprStatus");
IPrivacyPolicyAcknowledgementElement privacyPolicyAcknowledgementElement = gdprStatus.PrivacyPolicyAcknowledgement.Values.Create();
privacyPolicyAcknowledgementElement.AgreementDate = System.DateTime.UtcNow;
That's it for today, next time the post will be about the rights of access and data portability.
Until the next post!