摘要:
When assigning permissions to theBasePermissionsproperty, you can use the following operators:&- bitwiseAND^- exclusiveOR|- inclusiveORFor Windows SharePoint Services permissions, you often work with each permission individually, so it is common to use^or|as operators.The following three lines i 阅读全文
posted @ 2013-03-19 11:09
louiskoo
阅读(402)
评论(0)
推荐(0)
摘要:
http://www.alaindeklerk.com/modify-permission-levels-using-bitwise-operators/ 阅读全文
posted @ 2013-03-19 10:29
louiskoo
阅读(140)
评论(0)
推荐(0)
摘要:
SPSecurity.RunWithElevatedPrivileges(delegate() { SPSite site = new SPSite("http://john1/"); SPWeb web = site.OpenWeb(); Console.WriteLine("Currently logged in as: " + web.CurrentUser.ToString() + "(" + web.CurrentUser.Name + ")"); ... 阅读全文
posted @ 2013-03-19 10:27
louiskoo
阅读(1404)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/gzh4455/archive/2012/03/26/2417854.html 阅读全文
posted @ 2013-03-19 09:23
louiskoo
阅读(258)
评论(0)
推荐(0)

浙公网安备 33010602011771号