<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Programmatic impersonation</title><link>http://forums.asp.net/thread/1545824.aspx</link><pubDate>Wed, 24 Jan 2007 06:34:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1545824</guid><dc:creator>Leijun Jie - MSFT</dc:creator><author>Leijun Jie - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1545824.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1545824</wfw:commentRss><description>There is a good KB on this: &lt;a href="http://support.microsoft.com/kb/306158"&gt;How to implement impersonation in an ASP.NET application&lt;/a&gt;</description></item><item><title>Re: Programmatic impersonation</title><link>http://forums.asp.net/thread/1534640.aspx</link><pubDate>Tue, 16 Jan 2007 16:09:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1534640</guid><dc:creator>MIB426</dc:creator><author>MIB426</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1534640.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1534640</wfw:commentRss><description>&lt;p&gt;this is exactly you need&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://west-wind.com/weblog/posts/1572.aspx"&gt;http://west-wind.com/weblog/posts/1572.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Programmatic impersonation</title><link>http://forums.asp.net/thread/1534491.aspx</link><pubDate>Tue, 16 Jan 2007 14:52:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1534491</guid><dc:creator>Maddog C</dc:creator><author>Maddog C</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1534491.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1534491</wfw:commentRss><description>&lt;p&gt;instead of putting&lt;/p&gt;
&lt;p&gt;&amp;lt;identity impersonate="true" userName="domain\user" password="pwd"/&amp;gt;&lt;/p&gt;
&lt;p&gt;in the web.config file to impersonate another user,&amp;nbsp;I need to replicate this functionality in&amp;nbsp;code. How do I do this please?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>