2012年2月7日

摘要: As I understand, you want to show the Office documents using Office Web Apps. Instead of using the ECB actions, you want to open it using Hyperlink, am I right?When you try to view the word document in Brower, you will get a url like this:http://servername/_layouts/WordViewer.aspx?id=/Shared%20Docum 阅读全文
posted @ 2012-02-07 15:36 SUNJUNLIN 阅读(280) 评论(0) 推荐(0)
摘要: In that case you could check / ensure permissions on a certain list item with the method DoesUserHavePermissions:SPListItem item =//...if(item.DoesUserHavePermissions(SPContext.Current.Web.CurrentUser,SPBasePermissions.ViewListItems)){ // futher actions if user has permission goes here.} 阅读全文
posted @ 2012-02-07 15:35 SUNJUNLIN 阅读(265) 评论(0) 推荐(0)

导航