📜  c# sharepoint 从列中获取用户 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:11.140000             🧑  作者: Mango

代码示例1
SPFieldUserValueCollection objUserFieldValueCol = new SPFieldUserValueCollection(web, item["MultiUserColumn"].ToString());

for (int i = 0; i < objUserFieldValueCol.Count; i++)
{
     SPFieldUserValue singleUser = objUserFieldValueCol[i];

}