itemID = page5.Page.Id;
vManager = VersionManager.GetManager();
history = vManager.GetItemVersionHistory(itemID);
first = history.First(); //<---- RETURNS EMPTY IList WHEN IT SHOULDN"T
change = new WcfChange(first);
mod = change.CreatedByUserName;
You gave me the code above to get the last user that modified a page, however, sometimes the code above returns an empty IList on a page. The page in question has been published and does have a history. Is this a bug ?
Also page5.Page.LastModifiedBy is not working either ...
Is there any other way of getting the name of the User that last modified a page ?
Thanks in advance,