﻿<?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 - V1 » Role Based Security  » Change Password Dialog Issues/Questions</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 23:30:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11225.aspx</link><description>I just added a call to show the user the change password dialog.  However, there are some problems with it.&lt;br&gt;
&lt;br&gt;
- The user isn't set. The user name textbox is blank. How does this get set? I'm calling after logging on, so there is a current user.&lt;br&gt;
&lt;br&gt;
- The Confirm Password label is cut off. I tried to set the form as resizable, but the label isn't anchored.  &lt;br&gt;
&lt;br&gt;
- The tab order is apparently whacked. It tabs from the old password to the OK button, that's all.&lt;br&gt;
&lt;br&gt;
Maybe there is another way to call this that I'm missing?&lt;br&gt;</description><pubDate>Wed, 07 Nov 2007 09:37:30 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost12523.aspx</link><description>Great.&amp;nbsp; We will be sure that it is corrected in the next update. :)&amp;nbsp; Thanks.</description><pubDate>Wed, 07 Nov 2007 09:37:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost12499.aspx</link><description>OK, I just figured out my problems. The Login.ShowPasswordChangeForm takes as an argument a SFSUserBO.  It finally dawned on me that the form was probably just changing the BO, but not saving it. If I use code like:&lt;br&gt;
[codesnippet]Using userBO as New SFSUsersBO()&lt;br&gt;
  userBO.FillByPrimaryKey(SecurityBasics.CurrentUser.UserPK)&lt;br&gt;
  If Login.ShowPasswordChangeForm(userBO) Then&lt;br&gt;
    userBO.Save()&lt;br&gt;
  End If&lt;br&gt;
End Using[/codesnippet]&lt;br&gt;
it works.&lt;br&gt;
&lt;br&gt;
So, the only thing needing fixing is the confirm password label (as far as I know)</description><pubDate>Tue, 06 Nov 2007 13:16:50 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost12421.aspx</link><description>Cool  :D</description><pubDate>Mon, 05 Nov 2007 09:33:04 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost12417.aspx</link><description>Yeah, it is on our list and will be fixed before we release the next update.&amp;nbsp; Sorry for the delay, but we have made a number of enhancements to the core of the framework in the UI side to improve rendering and performance accross RDP sessions and in general, along with some other changes that we have really wanted to test in depth before pushing out a build.&amp;nbsp; That is where the delay has been.&amp;nbsp; But this will be included in the next update when released.</description><pubDate>Mon, 05 Nov 2007 09:11:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost12400.aspx</link><description>Any progress on this?</description><pubDate>Sun, 04 Nov 2007 22:58:47 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11407.aspx</link><description>What is the status on this?  Are there any work arounds?</description><pubDate>Mon, 10 Sep 2007 13:21:19 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11325.aspx</link><description>Thanks Ben!</description><pubDate>Tue, 04 Sep 2007 13:52:44 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11298.aspx</link><description>I ran into a few snags with it on Friday.&amp;nbsp; I'll let you know&amp;nbsp;a better&amp;nbsp;timeline on a fix after our scheduling meeting on Tuesday with Trent back in town.</description><pubDate>Mon, 03 Sep 2007 23:30:58 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11278.aspx</link><description>How's this going Ben?</description><pubDate>Fri, 31 Aug 2007 11:32:08 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11239.aspx</link><description>Well, let me work up a sample and I'll let you know.</description><pubDate>Thu, 30 Aug 2007 09:29:03 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Change Password Dialog Issues/Questions</title><link>http://forum.strataframe.net/FindPost11226.aspx</link><description>OK, I found the Login.ShowPasswordChangeForm() method.  I call it and the user name is set. I then successfully change the password (rather the method returns true).  &lt;br&gt;
&lt;br&gt;
I then go to test it. I log off and try to log back on with the new password (I stay within the application, just change the current user), I get an exception:  &lt;br&gt;
&lt;br&gt;
ArgumentException&lt;br&gt;
  An entry with the same key already exists.&lt;br&gt;
&lt;br&gt;
Source     : System&lt;br&gt;
&lt;br&gt;
Stack Trace:&lt;br&gt;
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)&lt;br&gt;
   at System.Collections.Generic.TreeSet`1.Add(T item)&lt;br&gt;
   at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)&lt;br&gt;
   at MicroFour.StrataFrame.Security.Login.AuthenticateUser(String Username, String Password, String Domain, SFSUsersBO&amp; User)&lt;br&gt;
   at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)&lt;br&gt;
   at FOXSystems.RAMS.RAMSLoginForm.OnAttemptLogin() in RAMSLoginForm.vb:line 38&lt;br&gt;
   at FOXSystems.RAMS.RAMSLoginForm.btnOk_Click(Object sender, EventArgs e) in RAMSLoginForm.vb:line 322&lt;br&gt;
...etc.&lt;br&gt;
&lt;br&gt;
Note I'm using my own login form. &lt;br&gt;
&lt;br&gt;
When I exit the application and attempt to login, the login fails, saying the credentials provided can't be authenticated.&lt;br&gt;
&lt;br&gt;
I must be missing something, because I'm pretty sure this method/form is well used by many of you...  :unsure:&lt;br&gt;
&lt;br&gt;
Any help appreciated!</description><pubDate>Wed, 29 Aug 2007 17:23:26 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>