Return the path rather than the ID
git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/integration/sharepoint-2010/trunk@1364658 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webservice/MCPermissions.cs b/webservice/MCPermissions.cs
index 7d379ab..b774523 100644
--- a/webservice/MCPermissions.cs
+++ b/webservice/MCPermissions.cs
@@ -118,8 +118,8 @@
if (counter >= startRowParam)
{
XmlNode resultNode = doc.CreateElement("GetListItemsResult");
- XmlAttribute idAttribute = doc.CreateAttribute("ID");
- idAttribute.Value = Convert.ToString(oListItem.ID);
+ XmlAttribute idAttribute = doc.CreateAttribute("FileRef");
+ idAttribute.Value = oListItem.Url;
resultNode.Attributes.Append(idAttribute);
getListItemsNode.AppendChild(resultNode);
}