摘要: 主要添加Domain User 来控制其权限,下面是代码 SPRoleAssignment domainUsers = new SPRoleAssignment(web.EnsureUser(Environment.UserDomainName+"\\Domain Users")); domainUsers.RoleDefinitionBindings.Add(web.RoleDefinitions["参与讨论"]); list.RoleAssignments.Add(domainUsers); list.WriteSecurity = ... 阅读全文
posted @ 2012-08-06 17:10 gzh4455 阅读(308) 评论(0) 推荐(0) 编辑