SharePoint Security
There are 1 entries for the tag
SharePoint Security
SPWeb.Groups and SPWeb.SiteGroups WSS 3.0 deprecates the site group concept used in WSS 2.0. As a result manipulating groups and security objects through the object model can be less than obvious. For Example, a developer may try to add a group to a sub site (SPWeb) using this syntax SPWeb.Groups.Add(Group Name). However, in WSS 3.0 and MOSS 2007 this code will result in the following error: “You cannot add a group directly to the Groups collection. You can add a group to the SiteGroups collection.”...