returning more than one field in a list..?

May 31, 2013 at 2:06 PM
I have some code to return data from a list:
        var listPath = new Uri(string.Format("{0}/forms/", SitePath));
        var fieldNames = new List<string> {"Id","UserName", "FullName"};
        var query = XElement.Parse(@"<Query/>");
        var listData = ListServiceUtility.GetListItemData(listPath, listName, string.Empty, fieldNames, query, false, 50);
However when parsing through the variable listData i only see data for FullName. Is this a bug? Granted I based this on the VB example code in the documentation by Kevin Idzi.... Just wondering if there is a way to bring back all the indicated columns in the list (fieldNames)?