﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Role Based Security  / Embedding Security into the application / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 21 Nov 2008 17:40:10 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Great..I am glad to hear it...it won't happen again :D</description><pubDate>Wed, 11 Oct 2006 20:22:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>It's working perfectly.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Wed, 11 Oct 2006 18:50:26 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Thanks Ben. &lt;/P&gt;&lt;P&gt;Amazing as always.</description><pubDate>Wed, 11 Oct 2006 17:17:52 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Ok, Ivan, the update is posted, so it's ready for you to download whenever you want your Portuguese messages back :D</description><pubDate>Wed, 11 Oct 2006 15:04:36 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>That's odd... because that's the one that gets embedded within the assembly... oh well, it was wrong in the database, so we know where it was coming from :)</description><pubDate>Wed, 11 Oct 2006 14:31:20 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Just to let you know.&lt;/P&gt;&lt;P&gt;The Messages_1046.XML file in the source code solution seems to be correct.</description><pubDate>Wed, 11 Oct 2006 14:29:21 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>I see, it was personal then.&lt;/P&gt;&lt;P&gt;I bet it was Steve trying his knowledge on the portuguese language.&lt;/P&gt;&lt;P&gt;Now seriously, never mind, next update is really fine for me.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Wed, 11 Oct 2006 14:20:17 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>You can blame this one on me :)&lt;/P&gt;&lt;P&gt;The localized messages are there, and the framework is properly displaying them, it's just that a few of the Portuguese (sp?) messages within the data were somehow replaced with "test" messages or "t" messages or "asdf" messages. &lt;/P&gt;&lt;P&gt;But, we have the .tpe file still from when you sent it back to us, so we'll just re-import it and we'll be fixed.  I'll let you know when the next update is posted that will contain the proper messages.&lt;/P&gt;&lt;P&gt;The good news is that only the Portuguese was affected... Spanish, German, and English were ok.</description><pubDate>Wed, 11 Oct 2006 14:12:23 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>huahuauahuahuah ... I tried 2058 (Spanish) and it works perfectly. All solved, I just have to persuade the other 179.999.999 brazilians to make the shift.:D</description><pubDate>Wed, 11 Oct 2006 13:54:20 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>[quote][b]Ben Chase (10/11/2006)[/b][hr]No, all of the localized values are embedded within the assembly, so you don't have to include them.  However, are you setting the MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1046? or is it still left at 1033?[/quote]&lt;/P&gt;&lt;P&gt;It is 1046, and what is strange, when set to 1033, the english message comes, when set to 1046, a "test" message appears! I need to find where this "test" is.</description><pubDate>Wed, 11 Oct 2006 13:34:42 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>No, all of the localized values are embedded within the assembly, so you don't have to include them.  However, are you setting the MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1046? or is it still left at 1033?</description><pubDate>Wed, 11 Oct 2006 12:57:02 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>WOW ... my application now has a complete Security module. In PORTUGUESE!&lt;/P&gt;&lt;P&gt;One last thing (what a lie) ... Do I need to import the localized keys into the application localization project? In the login form, when the user enters a wrong password, for instance, the messages are not localized, and I know for sure they've been translated.;)</description><pubDate>Wed, 11 Oct 2006 12:20:21 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>[quote][b]Ben Chase (10/11/2006)[/b][hr]Yes, Kevin's advice will work, but your version is probably in limbo... the constructor that accepts False is in the currently downloadable version, but the next udpate will have an overload that accepts False, False to hide both the permissions and the restriction sets (per Kevin's request :)).[/quote]&lt;/P&gt;&lt;P&gt;What about hiding the users?:D&lt;/P&gt;&lt;P&gt;By the way, thanks a lot to you both.</description><pubDate>Wed, 11 Oct 2006 12:06:40 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Yes, Kevin's advice will work, but your version is probably in limbo... the constructor that accepts False is in the currently downloadable version, but the next udpate will have an overload that accepts False, False to hide both the permissions and the restriction sets (per Kevin's request :)).</description><pubDate>Wed, 11 Oct 2006 12:00:19 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Hehe, I just wrote a help topic on how to call the security dialog in your app... but it's not in the release, yet.  No, you don't want to use the SecurityMaintenance.exe because it is for design-time only and requires the licensing.  However, you can call the SecurityDialog directly through one of 2 constructor overloads:&lt;/P&gt;&lt;P&gt;Sample – Showing the SecurityDialog [Visual Basic]&lt;/P&gt;&lt;P&gt;Imports MicroFour.StrataFrame.Security&lt;BR&gt;...&lt;BR&gt;Private Sub ShowSecurityDialog()&lt;BR&gt;    '-- Create the form and show it&lt;BR&gt;    Using loDialog As New SecurityDialog()&lt;BR&gt;        loDialog.ShowDialog()&lt;BR&gt;    End Using&lt;BR&gt;End Sub&lt;/P&gt;&lt;P&gt;Sample – Showing the SecurityDialog without Permissions or Restriction Sets [Visual Basic]&lt;/P&gt;&lt;P&gt;Imports MicroFour.StrataFrame.Security&lt;BR&gt;...&lt;BR&gt;Private Sub ShowSecurityDialog()&lt;BR&gt;    '-- Create the form and show it&lt;BR&gt;    Using loDialog As New SecurityDialog()&lt;BR&gt;        loDialog.ShowDialog(False, False)&lt;BR&gt;    End Using&lt;BR&gt;End Sub</description><pubDate>Wed, 11 Oct 2006 11:58:41 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Hello Ivan!&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt; (MicroFour.StrataFrame.Security.&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;SecurityDialog&lt;/FONT&gt;&lt;FONT size=2&gt; fsec = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;SecurityDialog&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;false&lt;/FONT&gt;&lt;FONT size=2&gt;))&lt;BR&gt;  {&lt;BR&gt;    fsec.ShowDialog(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;BR&gt;  &lt;/FONT&gt;&lt;FONT size=2&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;The false in the custructor hides the permissions node. Simply use new SecurityDialog() to show the permissions node.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Hope this helps!&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Wed, 11 Oct 2006 11:56:54 GMT</pubDate><dc:creator>Kevin Lingofelter</dc:creator></item><item><title>Embedding Security into the application</title><link>http://forum.strataframe.net/Topic3497-21-1.aspx</link><description>Hya.&lt;/P&gt;&lt;P&gt;I would like to embed the Security Application into my application.&lt;/P&gt;&lt;P&gt;I'm looking for some guidance in doing that. &lt;/P&gt;&lt;P&gt;Should I copy the SecurityMaintenance.EXE into my solution directory and just call it from the menu? I don't even know at this point how to call an external app.&lt;/P&gt;&lt;P&gt;Do I have to import the localized keys into the app localization project?&lt;/P&gt;&lt;P&gt;Thanks for your patience.</description><pubDate>Wed, 11 Oct 2006 11:44:16 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>