【问题标题】:SharePoint 2010 and the GetGroupCollectionFromUser operation in InfoPathSharePoint 2010 和 InfoPath 中的 GetGroupCollectionFromUser 操作
【发布时间】:2011-02-03 22:06:07
【问题描述】:

我正在处理一个 InfoPath 2010 表单,该表单将提交到 SP2010 实例并通过 Web 浏览器填写。我正在尝试根据当前用户所属的 SP 用户组呈现表单的不同视图。

在表单加载时,我想检查表单状态字段并检查当前用户是否属于批准组。该组是一个 SP 用户组,据我所知 UserGroup.asmx webservice 和 GetGroupCollectionFromUser 操作是我想要的。但是,在我添加数据连接后的 InfoPath 2010 中,唯一的结果字段似乎是 userLoginName。这似乎不是我想要的,或者如果是,我不知道如何获取该值中包含的组列表。

如何获得返回的 SharePoint 组列表?

【问题讨论】:

    标签: sharepoint sharepoint-2010 infopath


    【解决方案1】:

    您需要修改 Web 服务的 xml 架构:

    这篇文章展示了如何做到这一点:

    http://blog.symprogress.com/2011/05/infopath-list-form-hidedisable-fields-based-on-sharepoint-group-membership/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多