We recently purchased AC 7.0 and have found it great. We are working to create a member section, outside of AC 7.0 but would like to utilize the existing schema of AC to validate users.
I'm working on this in CF 8, but with the password values encrypted, I'm having trouble validating users. Is there a procedure I can call or a way to validate a users form entry against the password stored in ac_UserPasswords?
Validating Passwords Against Database
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
I have not worked with CF in a while. They must have the ability to call .NET methods by now? You can call this method:
CommerceBuilder.Users.User.Login(username, password)
It returns either true or false. If true, the username and password were valid. If false, the login failed.
CommerceBuilder.Users.User.Login(username, password)
It returns either true or false. If true, the username and password were valid. If false, the login failed.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.