<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Multi-tenant Login</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Multi-tenant Login</description>
  <pubDate>Wed, 13 May 2026 01:03:02 -700</pubDate>
  <lastBuildDate>Mon, 10 Sep 2012 20:41:36 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3614</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Multi-tenant Login : You have to set the DataSourceKeyExtension...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14394#14394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 10-Sep-2012 at 8:41pm<br /><br />You have to set the DataSourceKeyExtension on the client by configuring the AuthenticationService with proper ConnectionOptions. You can't do that on the server in the LoginManager or you'll get into a chicken or the egg problem. First as you discovered, you can't override the DataSourceExtension on the server. If you try to new up an EntityManager it needs to be logged in, but you are in the LoginManager, so that would result in an endless loop.<div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 10 Sep 2012 20:41:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14394#14394</guid>
  </item> 
  <item>
   <title>Multi-tenant Login :   Still doing authentication...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14393#14393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 10-Sep-2012 at 8:14pm<br /><br />Still doing authentication :-) <div>&nbsp;</div><div>Now i have all the info I need so i call the login manager</div><div>&nbsp;</div><div>&nbsp;authentication.Login(new LoginCredential(username, password, domain);</div><div>&nbsp;</div><div>this call cocktail's AuthenticationService.Login which in turn calls my LoginManager</div><div>&nbsp;</div><div>&nbsp; &nbsp;public virtual IPrincipal Login(ILoginCredential credential, EntityManager entityManager)</div><div>&nbsp;</div><div>in that code i call </div><div>&nbsp;&nbsp;&nbsp; var em = new SecurityEntities(entityManager, true, credential.Domain);</div><div>&nbsp;</div><div>the credential.domain is actually the tenant ID, and i need the tenant ID for&nbsp; <font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font size="2">IDataSourceKeyResolver <font color="#000000" face="Verdana">tso i can get to the right database for authentication but i get this</font></font></font></font></font></div><div>&nbsp;</div><div><font color="#2b91af" face="C&#111;nsolas">Unable to initialize EntityManager</font></div><div><font color="#2b91af" face="C&#111;nsolas">DataSourceExtension cannot be overriden on the server</font><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas">&nbsp;</font></font></font></div><div><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#000000" size="2" face="Verdana"></font></font></font></font>&nbsp;</div><div><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#000000" size="2" face="Verdana">I tried&nbsp; not using the provided EntityManager and creating a new one but i get "Implicit login is not allowed when the AuthenticationContext is logged out."</font></font></font></font></div><div><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#000000" size="2" face="Verdana"></font></font></font></font>&nbsp;</div><div><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#000000" size="2" face="Verdana">This thing is somewhat complicated :-0</font></font></font></font></div><div><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas"><font color="#2b91af" face="C&#111;nsolas">&nbsp;</div></font></font></font>]]>
   </description>
   <pubDate>Mon, 10 Sep 2012 20:14:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14393#14393</guid>
  </item> 
  <item>
   <title>Multi-tenant Login :   HO YEAHHHHHHHHHH that worked...Thank...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14380#14380</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 6:45pm<br /><br />HO YEAHHHHHHHHHH&nbsp; that worked...<div>&nbsp;</div><div>Thank you very much for your help.&nbsp; Keep up the good work.</div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 18:45:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14380#14380</guid>
  </item> 
  <item>
   <title>Multi-tenant Login :   There are two options. The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14379#14379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 4:13pm<br /><br />There are two options. The first&nbsp;option is by means of an anonymous user. An anonymous user is a user that isn't authenticated, meaning you set isAuthenticated to false in the identity. So, when the credentials are null, you return the Anonymous user from the LoginManager. Then you should secure all your business entities, other than the once that give you the information you need,&nbsp;by marking them with the RequiresAuthenticationAttribute, so that the anonymous user cannot query any of them.<div>&nbsp;</div><div>The other option is to use a system user that only the server knows about. I don't like this option very much, because you have to store the password somewhere. </div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 16:13:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14379#14379</guid>
  </item> 
  <item>
   <title>Multi-tenant Login :   I found the problem,in my...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14378#14378</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 3:57pm<br /><br />I found the problem,<div>&nbsp;</div><div>in my web.config i had these lines</div><div>&lt;dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity name="IdeaBlade.EntityModel" publicKeyToken="287b5094865421c0" culture="neutral" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bindingRedirect oldVersion="0.0.0.0-6.1.8.1" newVersion="6.1.8.1" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity name="IdeaBlade.Core" publicKeyToken="287b5094865421c0" culture="neutral" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bindingRedirect oldVersion="0.0.0.0-6.1.8.1" newVersion="6.1.8.1" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity name="IdeaBlade.Validation" publicKeyToken="287b5094865421c0" culture="neutral" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bindingRedirect oldVersion="0.0.0.0-6.1.8.1" newVersion="6.1.8.1" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependentAssembly&gt;</div><div>&nbsp;</div><div>By removing them the app is back online, thanks</div><div>&nbsp;</div><div>now back to the original problem:</div><div>&#091;LoginException: Credentials are required.&#093;</div><div>&nbsp;</div><div>I need to get to the database to get some information about the customer that logs in so I can tell what database to connect to to authenticate the user.</div><div>&nbsp;</div><div>Is there a way to get the the database without being authenticated?<br></div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 15:57:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14378#14378</guid>
  </item> 
  <item>
   <title>Multi-tenant Login : Delete all the bin folders. You...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14377#14377</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 2:05pm<br /><br />Delete all the bin folders. You can use the flush.cmd that comes with Cocktail. Then rebuild. Looks like you have something old hanging around. Also, make sure that the IdeaBlade assemblies have Copy Local set to true.]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 14:05:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14377#14377</guid>
  </item> 
  <item>
   <title>Multi-tenant Login : great now that&amp;#039;s working......</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14376#14376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 12:36pm<br /><br />great now that's working... but some else is happening, and only when i start my application<div><br></div><div>I cleared up the C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root folder to be sure, but it is still happening</div><div><br></div><div><pre>&#091;FileNotFoundException: Could not load file or assembly 'IdeaBlade.Core, Version=6.1.8.0, Culture=neutral, PublicKeyToken=287b5094865421c0' or one of its dependencies. The system cannot find the file specified.&#093;&#091;FileNotFoundException: Could not load file or assembly 'IdeaBlade.Core, Version=6.1.8.1, Culture=neutral, PublicKeyToken=287b5094865421c0' or one of its dependencies. The system cannot find the file specified.&#093;   WebRole1.Default.BtnSigninClick(Object sender, EventArgs e) in \WebRole1\Default.aspx.cs:26   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804</pre><pre><br></pre><pre>Why is it trying to redirect to 6.1.8.1 i did uninstall it and reinstall 6.1.8.0</pre><pre><br></pre><pre>Strang things are happening :-(</pre></div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 12:36:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14376#14376</guid>
  </item> 
  <item>
   <title>Multi-tenant Login :   The downloaded binaries were...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14375#14375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 10:27am<br /><br />The downloaded binaries were built with 6.1.8, not 6.1.8.1. 6.1.8.1 is a hotfix that addresses one specific issue that only affects you if your model uses composite foreign keys. We'll push out an update that will work with 6.1.8.1, but in the meantime, install 6.1.8. You can find the installer in the full download package here:<div>&nbsp;</div><div><a href="http://cocktail.codeplex.com/releases/view/92595" target="_blank"><u><font color="#0066cc">http://cocktail.codeplex.com/releases/view/92595</font></u></a></div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 10:27:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14375#14375</guid>
  </item> 
  <item>
   <title>Multi-tenant Login : I did upgrade to Cocktail v1.0...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14374#14374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 09-Sep-2012 at 10:06am<br /><br />I did upgrade to Cocktail v1.0 and DevForce 6.1.8.1 , now i'm getting&nbsp;<div><br></div><div><div>Error<span ="Apple-tab-span" style="white-space:pre">	</span>4<span ="Apple-tab-span" style="white-space:pre">	</span>The "EntityModelMetadataDeploy" task failed unexpectedly.</div><div>System.IO.FileNotFoundException: Could not load file or assembly 'IdeaBlade.VisualStudio.DTE, Version=6.1.8.0, Culture=neutral, PublicKeyToken=287b5094865421c0' or one of its dependencies. The system cannot find the file specified.</div><div>File name: 'IdeaBlade.VisualStudio.DTE, Version=6.1.8.0, Culture=neutral, PublicKeyToken=287b5094865421c0'</div><div><br></div><div>Server stack trace:&nbsp;</div><div>&nbsp; &nbsp;at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.Execute()</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Object&#091;&#093;&amp; outArgs)</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)</div><div><br></div><div>Exception rethrown at &#091;0&#093;:&nbsp;</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</div><div>&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)</div><div>&nbsp; &nbsp;at Microsoft.Build.Framework.ITask.Execute()</div><div>&nbsp; &nbsp;at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()</div><div>&nbsp; &nbsp;at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__20.MoveNext()</div><div><br></div><div>WRN: Assembly binding logging is turned OFF.</div><div>To enable assembly bind failure logging, set the registry value &#091;HKLM\Software\Microsoft\Fusion!EnableLog&#093; (DWORD) to 1.</div><div>Note: There is some performance penalty associated with assembly bind failure logging.</div><div>To turn this feature off, remove the registry value &#091;HKLM\Software\Microsoft\Fusion!EnableLog&#093;.</div><div><br></div><div>When i compile, any toughts?<span ="Apple-tab-span" style="white-space:pre">	</span></div></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 09 Sep 2012 10:06:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14374#14374</guid>
  </item> 
  <item>
   <title>Multi-tenant Login : There&amp;#039;s a recent discussion...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14373#14373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 08-Sep-2012 at 9:43am<br /><br />There's a recent discussion topic over in the Cocktail forum about how to connect to different databases at runtime. This might answer your questions.<div><br></div><div><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=3449&amp;title=manual-custom-c&#111;nnecti&#111;n-without-having-to-leave-the-applicati&#111;n" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=3449&amp;title=manual-custom-connection-without-having-to-leave-the-application</a></div><div><br></div><div>BTW, you may want to upgrade to Cocktail v1.0</div>]]>
   </description>
   <pubDate>Sat, 08 Sep 2012 09:43:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14373#14373</guid>
  </item> 
  <item>
   <title>Multi-tenant Login : I&amp;#039;m new to DevForce 6.1.7.1...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14372#14372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1514" rel="nofollow">halloweenx8</a><br /><strong>Subject:</strong> 3614<br /><strong>Posted:</strong> 07-Sep-2012 at 5:36pm<br /><br />I'm new to DevForce 6.1.7.1 with Cocktail 0.6.3 and i'm trying to implement a Multi-tenant Login for our new application, and i'm having some difficulties.<div><br></div><div>here is how it is suppose to work (high level)</div><div><br></div><div>1. User get to an ASPX page and asked for a code (not a password) and a user name</div><div>&nbsp; &nbsp; with this code i can get to the tenant database&nbsp;</div><div>2. I validate that the code is right and then prompt the user for a password (still in aspx)</div><div>3. when i have these 3 things i can log in</div><div>&nbsp; &nbsp; a) user code to get the database name (and build the connection string with it)&nbsp;</div><div>&nbsp; &nbsp; b) then use that connection string and validate the username/password</div><div>4. when the authentication works, i load a silverlight app</div><div><br></div><div>Here is the problem</div><div>I can Successfully validate the user code and get the connection string but for the life of me i cannot validate the username and password, i cannot connect the the customer's user database. &nbsp;</div><div><br></div><div>Here is some code</div><div><br></div><div><font face="Courier New, Courier, mono">public class AppNameAuthentication : AuthenticationService, IUserService {</font></div><div><font face="Courier New, Courier, mono">regular suff</font></div><div><font face="Courier New, Courier, mono">}</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><div><font face="Courier New, Courier, mono">public virtual IPrincipal Login(ILoginCredential credential, EntityManager entityManager)</font></div><div><font face="Courier New, Courier, mono">{</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; if (credential == null)</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; throw new LoginException(LoginExceptionType.NoCredentials, "Credentials are required.");</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; if (string.IsNullOrWhiteSpace(credential.UserName))</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; throw new LoginException(LoginExceptionType.InvalidUserName, "Username cannot be emptys.");</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; if (string.IsNullOrWhiteSpace(credential.Password))</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; throw new LoginException(LoginExceptionType.InvalidPassword, "Password cannot be empty.");</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; var em = new SecurityEntities(entityManager);</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; User user = em.Users.FirstOrDefault(u =&gt; u.UserId == credential.UserName );</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; if (user == null)</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; throw new LoginException(LoginExceptionType.InvalidPassword, credential.Domain, credential.UserName);</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; return new UserPrincipal(user.Id, new UserIdentity(user.UserId, user.ProfileUID.ToString(), true));</font></div><div><font face="Courier New, Courier, mono">}</font></div></div><div><br></div><div><font face="Courier New, Courier, mono">--&nbsp;</font><span style="font-family: 'Courier New', Courier, mono; ">&nbsp; var em = new SecurityEntities(entityManager);</span></div><div><span style="font-family: 'Courier New', Courier, mono; ">this does not user the created connection string but it should.</span></div><div><span style="font-family: 'Courier New', Courier, mono; "><br></span></div><div><span style="font-family: 'Courier New', Courier, mono; "><br></span></div><div><font face="Courier New, Courier, mono">Thanks for the help</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 07 Sep 2012 17:36:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3614&amp;PID=14372#14372</guid>
  </item> 
 </channel>
</rss>