We are testing GroupWise 8.02 HP2 and noticed something odd in our lab. The user's e-mail address is testuser@galnx.local in groupwise, but when we run the following code in Soap that has worked on GroupWise 8.01 and GroupWise 8.02(no Hot patches) it is returning testuser.qalnxpo3b.qalnxdom3@qalnx.local as the email address. Not sure what changed, we are trying to get the Primary e-mail address, which should be testuser@qalnx.local.

Thanks,

Will

var gur = new getItemsRequest { container = "GroupWiseSystemAddressBook@52", count = -1 };

var request = gw.getItemsRequest(l.session, Properties.Settings.Default.SoapLoggingOn, if (request.status.code == 0)
{
var contacts = request.items.Cast<Contact>().ToList();
if (filterString == "Name")
{
contacts = beginsWith
? contacts.Where(x => x.name.StartsWith(filterValue)).ToList()
: contacts.Where(x => x.name.Contains(filterValue)).ToList();
}
else
{
contacts = beginsWith
? contacts.Where(x => x.emailList.primary.StartsWith(filterValue)).
ToList
()
: contacts.Where(x => x.emailList.primary.Contains(filterValue)).
ToList();
}
foreach (var contact in contacts)
{
LogInfo("Primary: " + contact.emailList.primary);
LogInfo("Primary: " + contact.emailList.email.Count());
LogInfo("1st: " + contact.emailList.email[0].ToString());
}gur);