摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文