IContactCreatorCreateAnonymousContact Method |
Namespace: CMS.ContactManagement
Following example shows how to use the method CreateAnonymousContact
... IContactCreator contactCreator = someImplementation; // Assume it is now midnight on 2016/01/01 // Will create new contact with ContactLastName 'Anonymous - 2016-01-01 00:00:00.000' var contactWithoutPrefix = contactCreator.CreateAnonymousContact(); ...