0
我想摩爾spgroupcolelction和相關枚舉(foreach循環) 我無法做到這一點..有人可以指導我在這裏.. 我已經看到在它的stackoverflow後...但得到的答覆是很模糊.. 於是又摩爾+ SPGroupcollection問題
SPGroupCollection sharePointGroupCollection = contextWeb.Groups;
foreach (SPGroup sharePointGroup in sharePointGroupCollection)
{
if (groupname == sharePointGroup.Name)
{
//My logic.
}
}