SharePoint - 获取当前用户列表 [英] SharePoint - Get a list of current users
问题描述
获取分配给 SharePoint 门户的用户列表的最佳方法是什么?
What's the best way to get a list of users that are assigned to a SharePoint portal?
推荐答案
这完全取决于您想要的用户列表.
It depends on exactly what list of users you want.
SharePoint 网站中存在的所有用户(但不一定具有权限):
All users that exist in a SharePoint web (but don't necessarily have permission):
存在于 SharePoint 网站中但已被授予某些权限的用户:
Users that exist in a SharePoint web but have been granted some permission:
存在于 SharePoint 网站集中的用户(但不一定具有权限):
Users that exist in a SharePoint site collection (but don't necessarily have permission):
注意:我假设您使用的是 WSS 3.0/MOSS 2007,但这应该适用于 WSS 2.0.
Note: I am assuming you are using WSS 3.0 / MOSS 2007 but this should work for WSS 2.0.
另看:
SPWeb.AllUsers 对比 SPWeb.Users 对比 SPWeb.Groups
这篇关于SharePoint - 获取当前用户列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!