随笔分类 -  SharePoint

摘要:In this example, I'll create a SharePoint group using the Object Model, add few users in that group - which will be single users as well as the whole AD groups, create a folder inside the existing SharePoint Document library, break it's permissions inheritance to the parent Document Library, and create new permissions model adding to a single user full rights and to newly created SharePoint group read only rights. On the end, I'll check permissions for any given user if (s)he has rights to do th 阅读全文
posted @ 2009-09-12 20:18 张谊 阅读(688) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using Microsoft.SharePoint; 阅读全文
posted @ 2009-09-12 20:17 张谊 阅读(506) 评论(3) 推荐(1) 编辑
摘要:列表的EventHandeler: 1.继承SPItemEventReceiver 2.将SPItemEventReceiver中的方法重写就可以了,但是删除的时候要记得是重写Deleting方法 3.部署将dll拷贝到GAC中 阅读全文
posted @ 2009-09-12 20:15 张谊 阅读(797) 评论(1) 推荐(0) 编辑
摘要:一、window.open()支持环境:JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+二、基本语法:window.open(pageURL,name,parameters)其中:pageURL为子窗口路径name为子窗口句柄parameters为窗口参数(各参数用逗号分隔)三、示例:<SCRIPT><!--window.open('pa... 阅读全文
posted @ 2009-09-03 15:30 张谊 阅读(121347) 评论(3) 推荐(9) 编辑