惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
Jina AI
Jina AI
博客园_首页
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
L
Lohrmann on Cybersecurity
Forbes - Security
Forbes - Security
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
N
News | PayPal Newsroom
S
Security Archives - TechRepublic
量子位
Cisco Talos Blog
Cisco Talos Blog
V
V2EX
C
Cisco Blogs
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog
L
LangChain Blog
Scott Helme
Scott Helme
S
Securelist
Security Latest
Security Latest
爱范儿
爱范儿
TaoSecurity Blog
TaoSecurity Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
I
Intezer
L
LINUX DO - 最新话题
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Check Point Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
美团技术团队
Know Your Adversary
Know Your Adversary
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
PCI Perspectives
PCI Perspectives
月光博客
月光博客
T
Tailwind CSS Blog
Cloudbric
Cloudbric
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
K
Kaspersky official blog
D
DataBreaches.Net
博客园 - 【当耐特】
有赞技术团队
有赞技术团队

博客园 - Michael Zhao

easyWeb2Pic -- 在IE浏览器中,将整个网页保存为BMP, JPEG/JPG, GIF, PNG或者TIFF图片 PeopleSoft Intergration Broker 设置及实列 网页保存利器——easyWebSave介绍 象IE收藏夹那样管理你从Web保存的文档(2) 网页保存利器——easyWebSave介绍 象IE收藏夹那样管理你从Web保存的文档(1) 网页保存利器——easyWebSave介绍 综述 Microsoft Sharepoint Service Access 2003 PeopleSoft 客户端安装 MFC ATL/WTL的一个技巧 上网浏览必备利器 -- easy Web Save easy Web Save 有人用过吗?可以把在网页的选择保存成HTML Complete, HTML Text Only, 甚至Word. 感觉挺方便的。 RES Protocol Inno Setup,有人用过吗? 免费的Installer 和 免费的Pascal Script Engine. Creating a Dialog-based App(转载) Unicode-enabling Microsoft C/C++ Source Code(转载) Building Unicode applications in MFC(转载) Int,Float,Char *,CString之间的转换(转载) Adding Entries to the Standard Context Menu(转载 from msdn) 你经常使用Baidu.com吗? - Michael Zhao
Sharepoint中身份转换问题
Michael Zhao · 2005-12-15 · via 博客园 - Michael Zhao

在Sharepoint中有时候需要通过另一个用户的身份(同时是更高权限的用户)访问Sharepoint中的List。通常的做法是通过WindowsImpersonationContext, SecuUtil32.LogonUser等方式实现。具体的实现代码网上可以找到一些。经过很多时间摸索,除了这些代码外,要额外作如下配置:
1)更改Web.Config文件中信任级别,具体就是
<trust level="Full" originUrl="" />
2)此外,在IIS中去掉匿名访问。
这样,你的代码就能成功运行了。
另外,我是另外创建了一个站点(独立于Sharepoint)来运行测试程序的。

posted on 2005-12-15 17:28  Michael Zhao  阅读(645)  评论(0)    收藏  举报