1
What is the difference between AuthenticateUser and LoginValidated in the API?
Question asked by Connie DeCinko - 6/3/2016 at 11:25 AM
Unanswered
What is the difference between AuthenticateUser and LoginValidated in the SmarterMail API?  If I wanted to log someone into SmarterMail from say a custom page, which should I use?  Why would I use one over the other?
 

3 Replies

Reply to Thread
0
Linda Pagillo Replied
Hi Connie. AuthenticateUser returns a true ResultCode if the user name, domain name, and password match. LoginValidated returns a LoginResult object with the LoginValidated field set to True if the specified username matches the specified password. Hopefully this can help you decide which one would work best to accomplish your goal. Thanks.
Linda Pagillo Mail's Best Friend Email: linda.pagillo@mailsbestfriend.com Web: www.mailsbestfriend.com Authorized SmarterTools Reseller Authorized Message Sniffer Reseller
0
Connie DeCinko Replied
Thanks Linda. They sound kinda redundant but there must be a use case for each. Will each return True regardless of their logged in status? Or must you be logged in as well as provide the correct values?
0
Linda Pagillo Replied
You may want to have a look at the following links...

http://mail.smartertools.com/Services/svcUserAdmin.asmx?op=AuthenticateUser

http://mail.smartertools.com/Services/svcUserAdmin.asmx?op=LoginValidated

Please let me know if that answers your questions. Thanks!
Linda Pagillo Mail's Best Friend Email: linda.pagillo@mailsbestfriend.com Web: www.mailsbestfriend.com Authorized SmarterTools Reseller Authorized Message Sniffer Reseller

Reply to Thread