I've seen three types of group properties for an SPWeb
object - Groups
, SiteGroups
, AssociatedGroups
.
I understand that SiteGroups
will fetch all the groups in the current site collection. But what is the difference between Groups
and AssociatedGroups
. MSDN definition says that Groups
will get all the 'cross-site'(!) groups for that web site. AssociatedGroups
are fairly easily to understand just from the very name.
So what does Groups
return? Can somebody explain me with an example?