I am developing an interface in c# to Sugar using the soap api. I am using the soap request portal_login. For every login attempt I get the following error:
Invalid Portal Client: Portal Client does not have authorized access [error number 12]
I am using 5.0b and have set the contact’s portal settings. Below is the code I am using to access the soap request from c#
Is there anything else I need to do in sugar for the contact to get access via the portal_login request? I have set the username, password and made the portal active. The Customer Self-Service Portal in system settings is also active.Code:user_auth user = new user_auth(); user.user_name = username; user.password = this.computeMD5String(Password); user.version = ".01"; set_entry_result authentication_result = this.sugarClient.portal_login(user, username, "test");
I have tested this using the SOAP request login, and this work seamlessly when using a user account from sugar. Any help on this is greatly appreciated.
Sugar on PHP5 apache accessing via soap using C# ASP.NET 2
Thanks in advance


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks