尝试从Infopath表单获取用户组时,UserGroup.asmx引发“找不到用户"错误(错误5566) [英] UserGroup.asmx throws User Not Found Error (Error 5566) while trying to get user groups from Infopath form

查看:63
本文介绍了尝试从Infopath表单获取用户组时,UserGroup.asmx引发“找不到用户"错误(错误5566)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已设置安全存储服务,并使用udcx连接文件进行信息路径数据连接. Userprofile服务运行正常.当涉及到UserGroup Service时,我收到一条错误消息找不到用户.错误5566".我检查过 可用的用户ID数.我正在使用GetGroupCollectionByUser.

I have setup the secure store service and using the udcx connection files for infopath data connections. Userprofile service works fine. When it comes to UserGroup Service, I'm getting an error "User cannot be found. Error 5566". I have checked with number of user id available. I'm using GetGroupCollectionByUser.

因此,我仅使用输入字段创建了一个POC,用于输入UserID并显示它以进行测试.我测试过的用户ID以包括自定义组在内的组添加到网站集中.我可以确保没有身份验证或权限问题.

So, I created a POC just with an input field to enter UserID and to display it for testing purpose. User IDs I have tested are added to the site collection, in groups including custom groups. I can ensure there is no authentication or permission issue. 

我注意到,当我给网站集管理员的ID时,该服务不会引发错误,但也不会返回任何组.

I have noticed that when I gave site collection admin's ID, the service not throwing an error, but it is not returning any groups either.

用户ID的格式为 i:05.t | getaccess | user@domain.com

顺便说一句,在我的本地开发环境中,同一表单在用户ID格式为 i:0#.w | domain \ username

By the way, the same form worked fine in my local dev environment where the user ID format is i:0#.w|domain\username

这是一个限制吗?我的意思是,用户组服务只能标识域\用户名格式的声明吗?  我想念什么吗?

Is this a limitation? I mean, can only the claims in the format of domain\username  be identified by the usergroup service?  Am I missing something? 

J.Anbalagan

J.Anbalagan

推荐答案

您是否找到了解决方案?我在我的信息路径表单中遇到了类似的问题.我可以使用相同的用户身份登录该站点,但是Usergroup.asmx -getgroupcollectionbyuser给了我找不到的用户. Userprofile.asmx为我返回用户

Did you find a solution for this? i am facing a similar problem in my infopath form. i am able to login to the site with the same user but Usergroup.asmx -getgroupcollectionbyuser gives me user not found. Userprofile.asmx returns the user for me

预先感谢


这篇关于尝试从Infopath表单获取用户组时,UserGroup.asmx引发“找不到用户"错误(错误5566)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆