摘要: //get user groups $pnp.sp.web.getUserById(1).groups.get().then(function(data){console.log(data)}) 阅读全文
posted @ 2018-06-21 17:38 JackHu88 阅读(807) 评论(0) 推荐(0) 编辑
摘要: Initialize Add user Remove users 阅读全文
posted @ 2018-06-21 17:35 JackHu88 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 搜索用户 阅读全文
posted @ 2018-06-21 17:28 JackHu88 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 搜索用户 阅读全文
posted @ 2018-06-21 17:27 JackHu88 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 获取多用户字段值 阅读全文
posted @ 2018-06-21 17:23 JackHu88 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 避免Update事件触发两次 阅读全文
posted @ 2018-06-21 17:21 JackHu88 阅读(127) 评论(0) 推荐(0) 编辑
摘要: SPQuery query = new SPQuery(); query.Query = @""; SPList list_MainList = ssweb.Lists.TryGetList(PosMainList); SPListItemCollection mainCollection = list_MainList.GetItems(query); List list_main... 阅读全文
posted @ 2018-06-21 17:19 JackHu88 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 批量删除 阅读全文
posted @ 2018-06-21 17:16 JackHu88 阅读(176) 评论(0) 推荐(0) 编辑
摘要: using(SPSite site = new SPSite("http://siteurl")) { using(SPWeb web = site.OpenWeb()) { // Check there is an email server configured if (SPUtility.IsEmailServerSet(web)) ... 阅读全文
posted @ 2018-06-21 17:14 JackHu88 阅读(139) 评论(0) 推荐(0) 编辑
摘要: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SPWeb w = SPContext.Current.Web siteUrl = w.Url + "/"; ... 阅读全文
posted @ 2018-06-21 17:13 JackHu88 阅读(209) 评论(0) 推荐(0) 编辑