on 09-12-2014 5:03 PM
Hi all,
I need to create one add on application for my customer.In my app,I have to create log in form like the picture below
When they click Log In, I want to check this user name and password are correct/exist in table OUSR or not. If it has, it can see other form.
So to check the user and password in sap, Anyone know how to do?
Note: I want to execute store procedure in sql server to check user in OUSR table but because of the password is encrypt i don't know how to decrypt.
Thanks
TONY
Hi Tony,
Use this
oCompany.Server = "Server";
oCompany.LicenseServer = "LicServer:30000";
oCompany.CompanyDB = "Company";
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2012;
SAPbobsCOM.AuthenticateUserResultsEnum oResult = oCompany.AuthenticateUser(bstrUserName, bstrPassword);
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
regards,
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Soeun,
If you stay in this way, the only solution is to logon on the DI-API.
But why do you have a need to logon specifically your addon?
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy,
I was surprised bu your answer, since the method is taking only as parameters a username and a password.
After checking, even by providing the needed informations to the Company object and not connecting, it doesn't work: the method to be successful, needs a Company object connected with a user which has super-user's right.
Regards,
Eric
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.