Change user passsword


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi



I will checking how to let users to change their passwords.



I have this:



Using userBO As New MicroFour.StrataFrame.Security.BusinessObjects.SFSUsersBO()

userBO.FillByPrimaryKey(SecurityBasics.CurrentUser.UserPK)

If Login.ShowPasswordChangeForm(userBO) Then

userBO.Save()

End If

End Using


But is not working.



Does any one have a functional sample of how to this.



Regards

Smile Everything is possible, just keep trying...
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.3K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I am having a similar problem and just did a little sample app. It looks like the issue might be related to the password change failing. When I turn off complex passwords, I have no problems. However, when they are turned on and I provide a password that I know won't work (like one that includes the user's name), then when I click on OK, it just sits there, does nothing.
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Greg



It looks like the issue might be related to the password change failing. When I turn off complex passwords, I have no problems. However, when they are turned on and I provide a password that I know won't work (like one that includes the user's name), then when I click on OK, it just sits there, does nothing.




I have not noticed that, I do the same (turn off complex passwords) and works, I think the problem is not in my code.



An small detail, I use spanish, so my application has localization, must things work but in the Change password dialog there is a small problem, I add an screenshot with the text that is not localized and the translation, hope SF could add this in next update.



Regards


Smile Everything is possible, just keep trying...
Attachments
ChangePassword.png (135 views, 27.00 KB)
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Greg McGuffey (08/29/2008)
I am having a similar problem and just did a little sample app. It looks like the issue might be related to the password change failing. When I turn off complex passwords, I have no problems. However, when they are turned on and I provide a password that I know won't work (like one that includes the user's name), then when I click on OK, it just sits there, does nothing.

I am having the same situation as Greg, but in all cases, not matter the setting for Complex Passwords, when clicking the OK button, nothing happens, so the only option is to Cancel out the Change Password form.

This is the code I am using to change the password:

Using userBO As New SFSUsersBO()

     userBO.FillByPrimaryKey(SecurityBasics.CurrentUser.UserPK)

     If Login.ShowPasswordChangeForm(userBO) Then

          userBO.Save()

     End If

End Using

Can anybody please confirm this situation, I am running latest version 1.6.6.

Thanks!

Edhy Rijo

Teddy Jensen
Teddy Jensen
StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)StrataFrame Novice (112 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 8K
Has this been fixed?

Because, I have the same problem with the change password dialog.

I'm using the same code as Edhy and Greg and have not set complex passwords.

But the user can not change the password and the only option is to cancel out of the form.

There is also an issue with the gradient form header on the form - the detail text is not totally visible (see attached).

/Teddy

Douglas Riley
Douglas Riley
StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)
Group: StrataFrame Users
Posts: 21, Visits: 267
I just logged in to see if this is an issue.  I am have the same problem attempting to change password within my application.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Three problems all related to this dialog have been addressed and will be available in the next beta release posted.  Here are the items that have been resolved:

  • The password will not show all of the broken rules eliminating the confusion of the OK being clicked and nothing happening.
  • The cancel button is no longer accessible when the end-user is being forced to change their password
  • The title now shows the proper localization keys and renders properly.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.3K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
On point number two. This means that they have no choice but to change their password? What if they decide to bail and just want to exit? (They don't understand what is happening and want to talk to somebody first). I'd think that maybe the cancel button becomes an Exit button in that case and shuts down the app (if that's possible).
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You can't exit right now anyway.  It will just pop the dialog back up.  This is a forced process anyway.  Now if they are changing a password through the security editor, then you can cancel, but this is in reference to when the "User must change password next login" flag.  When they login they must  change their password.  This has always been enforced this way, but we are now going to make it less confusing so they know that they can't click the cancel button and expect to exit.
Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Trent L. Taylor (01/15/2009)Now if they are changing a password through the security editor,...

So we are allowed to ship the security editor with our applications ? I didnt know that. Is it fully localized ?

-Sorry for thead-hijack. Tongue

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search