02-17-2009 01:23 AM
I am trying to verify that a password entered is correct for that user. In the object browser I see Act.Framework.ActFramework.ValidatePassword(string) but I can't find it. After the user is logged on during certain conditions the clients wants to verify uid & pwd. Matching up the user was a piece of cake but verifying the password has left me head scratching?
Any ideas or pointers appreciated.
02-17-2009 01:48 AM
There's probably a much better way, I haven't tried but if all else fails you could create a new framework, try and log onto that, if you get an error then the logon info is bad if it logs on just log off again and dispose. This seeems like quite a long winded way somone might know something better.
I don't have intelliesense to hand so apologies if the code below is wrong but it should be something like.....
Private Function CheckPasswordOK as Boolean
dim actfwk as new act.framework.actframework
catch ex as exception
02-17-2009 03:09 AM