Sharepoint 2010 COM groups silverlight

本文关键字:silverlight groups COM 2010 Sharepoint | 更新日期: 2023-09-27 17:53:25

我得到的组:

var GruposSP = web.SiteGroups;
ClientContextLocator.ClientContextHome.Load(GruposSP, groups => (groups.Include(g => g.Users)), groups => (groups.Include(g => g.LoginName)));

它把我扔了:

"拒绝访问"。你没有执行此操作的权限或访问该资源

有没有办法在未经允许的情况下从网站获得用户?

Sharepoint 2010 COM groups silverlight

我的解决方案:

下一行是来自web的用户和组

ListItemCollection usersList = ctx.Web.SiteUserInfoList.GetItems(CamlQuery.CreateAllItemsQuery());