Sharepoint各种用户问题. [英] Sharepoint various users problem.

查看:80
本文介绍了Sharepoint各种用户问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在以infopath 2010表单显示当前用户指定时遇到问题.

我显示当前用户名称所采取的步骤:
1)所有用户及其对应信息从活动目录推送到数据库表中.
2)使用BCS连接在外部列表上创建,从该自定义表中提取所有必要的用户数据.
3)在infopath 2010中使用数据连接来调用外部人员并过滤当前用户名称.

按照上述步骤,除某些用户外,它的运行非常出色:

问题1:如果是管理员用户,并且如果我从infopath 2010应用程序中预览表单,则将在相应字段中完美弹出其名称.并通过中央管理员在sharepoint 2010网站中发布了相同的表单.如果同一用户登录到应用程序并打开表单,则其指定字段为空,这表示未填充.和右上角的
应用程序,这并没有使他的登录名显得苍白.其显示系统帐户 .
问题2:对于从共享点站点打开表单的少数员工,即使我从存储所有员工详细信息的自定义表中运行查询时,也没有填充他们的指定.使用相同的筛选条件,除少数员工外,所有员工的任命都非常完美.

对上述问题的任何帮助将不胜感激.

Hi all,

I am facing problem with displaying current user designation in infopath 2010 form.

The steps what i taken to display current user designation:
1)All the user and their corresponding information from active directory pushing into database table.
2)Created on external list using BCS connection pulling all the necessary user data from that custom table.
3)Using data connection in infopath 2010 calling the externalist and filtering the current user designation.

Following the above steps its working fantastically except some users:

Probml no 1: If the user member of administrator, and if i preview the form from infopath 2010 application his designation will be poped up perfectly in the respective field. And after publishing the same form in sharepoint 2010 site thru central admin. If the same user login to the application and open the form, his designation field is empty i mean not populating. And right corner side of the
application it is not dispalying his login name. Its displaying system account.
problm no 2: For few employees while opening the form from sharepoint site their designation is not populating even though when i run the query from custom table where all the employee details stored, their designatin is there. Using the same filteration all the employee''s designation is coming perfectly except some few.

Any help about above mentioned problem would be heartily appreciated.

推荐答案

在给出答案之前,我建议您改善自己的方法,如果我错了,请纠正我

请先给我以下问题的答案,

问题1.为什么要尝试将Active Directory中包含的信息存储到数据库中?

替代1.您可以使用sharepoint UserProfileService在Infopath中获取信息

替代2.您可以在Infopath中使用Microsoft.Office.Server.Profile.dll来从活动导向器获取用户信息

谢谢
Before giving your answer I suggest you to improve your methodology, correct me If I am wrong

Pleas give me the answer of below question first,

Question 1. Why are you try to store information containing in Active directory to database?

Alternate 1. you can use sharepoint UserProfileService the get information in Infopath

Alternate 2. you can use Microsoft.Office.Server.Profile.dll in Infopath to get user information from active director

Thanks


这篇关于Sharepoint各种用户问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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