SharePoint Web 部件按 AD/SharePoint 组显示用户

发布于 2024-07-11 09:38:58 字数 239 浏览 7 评论 0原文

我正在尝试创建一个 SharePoint Web 部件,该部件将显示某个活动目录或 SharePoint 安全组中的所有用户。

例如,在名为“人力资源”的部门的主页上,Web 部件将列出属于名为“HR”的 AD 或 SharePoint 组的所有人员。

有人向我建议,SharePoint 中的用户表和安全组之间没有关系,我觉得很难理解? 如果用户属于一个组,您会怀疑存在关系。

非常感谢您的任何建议

I'm trying to create a SharePoint web part that will display all the users in a certain active directory or SharePoint security group.

So for example on the home page for a department called Human Resources, the web part will list all the people who belong to the AD or SharePoint group called HR.

It's been suggested to me that there is no relationship between the users table in SharePoint and the security groups, which I find hard to understand? If users belong to a group you would suspect there is a relationship.

Many Thanks for any suggestions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

小傻瓜 2024-07-18 09:38:59

SharePoint 不会跟踪谁在哪个 AD 组中,您必须向 AD 询问这一点。

这并不是一个真正需要很好回答的问题,广告旨在回答诸如“凯文是酷孩子团体的成员吗”之类的问题

SharePoint doesn't keep track of who is in what AD group, you'd have to ask the AD for that.

This isn't really a question that it's set up to answer well, the AD was designed to answer questions like "is Kevin a member of the cool kids group"

我为君王 2024-07-18 09:38:59

太棒了

,但它有一个奇怪的行为。

“批准者”可以看到所有“贡献者”,也可以看到自己的“批准者”组
但“贡献者”只能看到其他“贡献者”而看不到“批准者”

Awesome

But it has one odd behavior.

"approvers" can see all "contributors" and also see their own group that is "approvers"
but "contrbutors" can only see other "contributors" and not the "approvers"

山人契 2024-07-18 09:38:59

为了满足您的需求,您需要在 Visual Studio 中创建一个自定义 webpart 来访问 ldap 服务器,以获取 Active Directory 组下的成员列表。

此外,您可以将此网络艺术部署到您的共享点站点。

To suffice your need , you need to create a custom webpart in visual studio that will access the ldap server, to get the list of members under an active directory group.

Furthermore, you can deploy this web art to your sharepoint site.

我ぃ本無心為│何有愛 2024-07-18 09:38:58

站点用户 Web 部件不会扩展 AD 安全组。 对于 AD 安全组枚举,您可能需要查看 Bamboo 的 Web 部件(用户目录 Web 部件)或开发您自己的自定义 Web 部件,如下所述:
http://sharepointrookie.wordpress.com/ 2008/07/13/display-site-members-from-ad-groups/

The Site Users web part will not expand AD security groups. For AD Security group enumeration, you may want to look at Bamboo's web parts (User Directory Web Part) or develop your own custom web part as described here:
http://sharepointrookie.wordpress.com/2008/07/13/display-site-members-from-ad-groups/

罗罗贝儿 2024-07-18 09:38:58

是的,有一个名为“站点用户”Web 部件的工具,我认为它可以满足您的部分要求。 但我不确定它是否位于 Web 部件库中的“杂项”组下。 我只是在 Web 部件库中闲逛时偶然发现了该工具。
另外,这里还有另一个工具 IFY,它是一个第三方工具,Sync AD< /a>

希望这有帮助

Yeah there are a tool called "Site Users" web part, which I think can do part of your requirement. But I am not sure it is under the Miscellaneous group in the Web Part gallery. I just stumbled on that tool when I fooling around in the web part gallery.
Also as IFY here is another tool which, though, is a third party tool which Sync AD

Hope this helps

翻了热茶 2024-07-18 09:38:58

SharePoint 有一个“网站用户”Web 部件(在 Web 部件库中的“杂项”组下)- 该部件是可配置的,可以显示网站中任何 SharePoint 安全组的成员。

SharePoint has a "Site Users" web part (under the Miscellaneous group in the Web Part gallery) - this part is configurable and can display the members of any SharePoint security group in the site.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文