<?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: Scope of User object</title><link>http://forums.asp.net/thread/2349101.aspx</link><pubDate>Fri, 09 May 2008 20:41:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2349101</guid><dc:creator>DotNetAdvisor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2349101.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2349101</wfw:commentRss><description>&lt;p&gt;Hey no problem. &lt;img src="http://forums.asp.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;&lt;p&gt;Also, can you mark this thread answered so I don&amp;#39;t keep checking on it?&amp;nbsp; Thanks.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Scope of User object</title><link>http://forums.asp.net/thread/2349091.aspx</link><pubDate>Fri, 09 May 2008 20:38:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2349091</guid><dc:creator>Skychan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2349091.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2349091</wfw:commentRss><description>&lt;p&gt;Thank you so much! I truly appreciate your help!&amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Scope of User object</title><link>http://forums.asp.net/thread/2349013.aspx</link><pubDate>Fri, 09 May 2008 19:58:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2349013</guid><dc:creator>DotNetAdvisor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2349013.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2349013</wfw:commentRss><description>&lt;p&gt;You can access pretty much everything you need through the HttpContext class.&amp;nbsp; It exposes static properties for the current thread.&amp;nbsp; If you want to get the username of the current thread access it this way:&lt;/p&gt;&lt;p&gt;HttpContext.Current.User.Identity.Name&amp;nbsp;&lt;/p&gt;</description></item><item><title>Scope of User object</title><link>http://forums.asp.net/thread/2348961.aspx</link><pubDate>Fri, 09 May 2008 19:27:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2348961</guid><dc:creator>Skychan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2348961.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2348961</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi&lt;/p&gt;&lt;p&gt;I want to have access to the User object everywhere in my application. I don&amp;#39;t understand why the Session and User object are not available to domain logic classes. Clearly there is always only one session and one user when the running thread is executing application code. The session and user belong to the thread (and should be treated as application global objects). There is no way to access the wrong session or the wrong user. So why are they restricted to only .aspx pages? .ascx pages don&amp;#39;t even have access to the User object, but thankfully I have access to the Session there so I just place the User within the Session.&lt;/p&gt;&lt;p&gt;Can someone please help me get access to the User object from domain logic classes?&lt;/p&gt;&lt;p&gt;thanks :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Skychan&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>