zoukankan      html  css  js  c++  java
  • SharePoint WebService——根据群组名称获取成员信息

    You will get three xsds when you add a data connection. GetUserCollectionFromGroup, GetUserCollectionFromGroup1, GetUserCollectionFromGroup2. Open the GetUserCollectionFromGroup xsd and search for query fields. Replace that  element with the following.

    <xsd:element name="queryFields">

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element name="GetUserCollectionFromGroup">

    <xsd:complexType>

    <xsd:sequence>

    <xsd:element minOccurs="0" maxOccurs="1" name="groupName" type="xsd:string"></xsd:element>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    </xsd:sequence>

    </xsd:complexType>

    </xsd:element>

    Now open the GetUserCollectionFromGroup1 and search for ‘GetUserCollectionFromGroup' and replace that element with the following.

    <s:element name="GetUserCollectionFromGroup">

    <s:complexType>

    <s:sequence>

    <s:element name="Users" minOccurs="0" maxOccurs="1">

    <s:complexType>

    <s:sequence>

    <s:element minOccurs="0" maxOccurs="unbounded" name="User">

    <s:complexType>

    <s:attribute name="Notes" type="s:string"></s:attribute>

    <s:attribute name="Name" type="s:string"></s:attribute>

    <s:attribute name="IsSiteAdmin" type="s:string"></s:attribute>

    <s:attribute name="Sid" type="s:string"></s:attribute>

    <s:attribute name="ID" type="s:string"></s:attribute>

    <s:attribute name="LoginName" type="s:string"></s:attribute>

    <s:attribute name="Email" type="s:string"></s:attribute>

    <s:attribute name="IsDomainGroup" type="s:string"></s:attribute>

    </s:complexType>

    </s:element>

    </s:sequence>                 

    </s:complexType>            

    </s:element>

    </s:sequence>

    </s:complexType>

    </s:element>

    注意InfoPath中使用此webservice时,设置为自动调用。

  • 相关阅读:
    华为交换机批量创建VLAN;端口组配置命令
    不同VLAN下实现网络互相通信(配置ip static静态路由进行数据转发)
    不同VLAN下实现网络互相通信(配置port trunk pvid vlan进行数据转发)
    不同VLAN下实现网络互相通信(配置Vlanif IP进行数据转发)
    Lambda表达式
    mysql安装
    多线程 聊天程序
    程序实现 传输图片
    网络编程 编程聊天小程序
    水印
  • 原文地址:https://www.cnblogs.com/mingle/p/2308242.html
Copyright © 2011-2022 走看看