摘要:
主要添加Domain User 来控制其权限,下面是代码 SPRoleAssignment domainUsers = new SPRoleAssignment(web.EnsureUser(Environment.UserDomainName+"\\Domain Users")); domainUsers.RoleDefinitionBindings.Add(web.RoleDefinitions["参与讨论"]); list.RoleAssignments.Add(domainUsers); list.WriteSecurity = ... 阅读全文