摘要: Oct200921Evelyn Schinko7Creating workflows for SharePoint 2010 with Office Visio 2010Microsoft has improved the new version of Visio. With the new version of Visio you can create workflows for SharePoint 2010. In my opinion it’s a great feature, because it’s now possible to split the process of crea 阅读全文
posted @ 2012-08-13 14:32 山之子 阅读(432) 评论(0) 推荐(0) 编辑
摘要: To Add and Remove a Role Def:To Add******SPRoleDefinition newRole = SharepointHelper.FindRoleDefinition(web.RoleDefinitions, "AdminPermissions");if (newRole == null) { newRole = new SPRoleDefinition(); newRole.Name = "AdminPermissions"; newRole.Description = "Can edit and ap 阅读全文
posted @ 2012-08-13 11:12 山之子 阅读(197) 评论(0) 推荐(0) 编辑
摘要: public void UpdateDocument() { System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite siteColl = new SPSite("http://localhost:8080/")) { using (SPWeb web = siteColl.OpenWeb()) { try { SPFile spfile = web.GetFile(&quo 阅读全文
posted @ 2012-08-13 10:03 山之子 阅读(411) 评论(0) 推荐(0) 编辑