Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.3
The Mailing List Module

Q:

Is there any way to access and edit the user information through the API (without programming into the database directly)?  

A:

To get the subscriber information, use the Sitecore.Modules.MailingList.Core.MailingList.GetSubscriberField(String, String) : String and Sitecore.Modules.MailingList.Core.MailingList.GetSubscriberFields(String) : XPathNavigator methods. To set the subscriber information, use the Sitecore.Modules.MailingList.Core.MailingList.PutSubscriberField(String, String, String) : String and Sitecore.Modules.MailingList.Core.MailingList.PutSubscriberFields(String, NameValueCollection) : Void methods.