摘要:
Microsoft.SharePoint.SPRoleAssignment 是权限分配Member:把权限分配给谁Parent:在什么东西上分配权限RoleDefinitionBindings:分配什么权限Microsoft.SharePoint. SPRoleDefinition 是角色描述Name:角色名称Description:角色描述BasePermissions:角色的权限SPRoleAssignment ra = new SPRoleAssignment(user); //给用户分配一个权限SPRoleDefinition rd = web.RoleDefinitions[“xxx 阅读全文
posted @ 2011-05-20 11:05
落 枫
阅读(420)
评论(0)
推荐(0)
摘要:
大家在SharePoint开发方面都用过SPListItem.Update 方法,不过您可能没有用过SPListItem.SystemUpdate方法,现在来介绍一下这两个方法的区别; 先看一下SDK中的说明:SPListItem.Update, Updates the database with changes that are made to the list item.;SPListItem.SystemUpdate, Updates the database with changes that are made to the list item, without effecting c 阅读全文
posted @ 2011-05-20 10:59
落 枫
阅读(254)
评论(0)
推荐(0)
浙公网安备 33010602011771号