Groups And SiteGroups

在 Microsoft Windows SharePoint Services Software Development Kit 中对SPWeb属性Groups和SiteGroups的说明分别如下:

The SiteGroups property of the SPWeb class gets the collection of cross-site groups for the site collection.

The Groups property of the SPWeb class gets the collection of cross-site groups for the site.

但是,我却发现,在RootWeb中添加的一个跨网站用户组——MyUsers。在RootWeb.Groups中就得不到(准确说是空的),只有通过SiteGroups才能得到。
这和我原本理解的有教大差异:通过Groups可以获得本Web的跨网站用户组,通过SiteGroups可以获得Site Collection的跨网站用户组。
为什么这样?我一时也还没有搞懂。希望大家来研究。

posted @ 2004-04-19 11:06  朱永光  阅读(719)  评论(0编辑  收藏  举报