<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.imiscommunity.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Dmitry_Eliseev&#039;s blog</title>
 <link>http://www.imiscommunity.com/blog/dmitry_eliseev</link>
 <description></description>
 <language>en</language>
<item>
 <title>Usefull C# code. How to find an IMISID of currently logged in user.</title>
 <link>http://www.imiscommunity.com/usefull_c_code_how_to_find_an_imisid_of_currently_logged_in_user</link>
 <description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Recently I run into the issue of where(how) to find iMIS ID of currently logged in user in iMIS Public views.&lt;br /&gt;
After some research I finally come up with folowing code:&lt;/p&gt;
&lt;p&gt;// VERY USEFULL ONE - Returns iMIS ID for currently Logged in USER&lt;br /&gt;
        private string GetCurrentiMISID()&lt;br /&gt;
        {&lt;br /&gt;
            string _id = &quot;&quot;;&lt;br /&gt;
            if (Request.Cookies[&quot;UserID&quot;] != null)&lt;br /&gt;
            {&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.imiscommunity.com/usefull_c_code_how_to_find_an_imisid_of_currently_logged_in_user&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.imiscommunity.com/usefull_c_code_how_to_find_an_imisid_of_currently_logged_in_user#comment</comments>
 <category domain="http://www.imiscommunity.com/related_to/imis/tools">Tools</category>
 <pubDate>Sat, 01 Mar 2008 15:29:42 -0500</pubDate>
 <dc:creator>Dmitry_Eliseev</dc:creator>
 <guid isPermaLink="false">2163 at http://www.imiscommunity.com</guid>
</item>
</channel>
</rss>

