SPFieldUserValueCollection usercoll= new SPFieldUserValueCollection(oweb, item["usercoll"].ToString());
bool containuser=likedBy.Find(u => u.User.LoginName.ToString().Contains(SPContext.Current.Web.CurrentUser.LoginName))!= null ? true : false;
bool containuser=likedBy.Find(u => u.User.LoginName.ToString().Contains(SPContext.Current.Web.CurrentUser.LoginName))!= null ? true : false;
No comments:
Post a Comment