摘要:
private bool AddUserIntoGroup(SPWeb web, string sGroupName, int iUserID) { bool res = false; try { web.AllowUnsafeUpdates = true; SPGroup oGroup = web.SiteGroups[sGroupName]; SPUser oUser = web.AllUsers.GetByID(iUserID); if (oUs... 阅读全文
posted @ 2013-05-09 17:49
gzh4455
阅读(400)
评论(0)
推荐(0)
浙公网安备 33010602011771号