I'm trying to retrieve Subscriber's public lists only, but it keeps returning public lists + a private list called "All Subscribers". I've tried both following methods but neither worked, any help would be appreciated. Thanks!
METHOD 1:
var subLists = subObj.Lists.Retrieve({
Property: "Type",
SimpleOperator: "equals",
Value: "Public"
})
METHOD 2:
var subLists = subObj.Lists.Retrieve({
LeftOperand: {
Property: 'ListClassification',
SimpleOperator: 'equals',
Value: 'PublicationList'
},
LogicalOperator: 'AND',
RightOperand: {
Property: 'Type',
SimpleOperator: 'equals',
Value: 'Public'
}
})
"Type"
"does not equal"
"Private"
and see what you get?