【发布时间】:2012-01-26 17:45:27
【问题描述】:
我想摩尔 spgroupcolelction 和相关的枚举(foreach 循环) 我无法这样做..有人可以在这里指导我.. 我已经在stackoverflow中看到了它的帖子......但答案很模糊...... 因此再次发布
SPGroupCollection sharePointGroupCollection = contextWeb.Groups;
foreach (SPGroup sharePointGroup in sharePointGroupCollection)
{
if (groupname == sharePointGroup.Name)
{
//My logic.
}
}
【问题讨论】:
标签: moles