zoukankan      html  css  js  c++  java
  • 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的跨网站用户组。
    为什么这样?我一时也还没有搞懂。希望大家来研究。

    分享到: 更多
  • 相关阅读:
    Python3输入输出
    Python3文件
    Python3OS文件/方法
    makefile通用版本(一)
    C语言正则表达式
    正则表达式
    sed、awk工具
    shell编程
    Sqlite3-安装使用
    Powershell-获取命令和帮助
  • 原文地址:https://www.cnblogs.com/redmoon/p/6512.html
Copyright © 2011-2022 走看看