Page 1 of 1

adding users from external application

Posted: Fri Oct 15, 2010 6:13 am
by lakshmikhushi
hi all

am trying to add new users and authenticate users from my own application so can anyone help me in changing code in testlink.
wanna know where exactly testlink code add users.

Re: adding users from external application

Posted: Mon Oct 18, 2010 9:49 pm
by zeevikn
Are you trying to add the users manually, and then use these users with external application ?
If so, once users are added, you have to manually add in the DB the devkey for each user.

Then external application will then use the devkey for authentication.

Or,
Are you trying to automatically create new users via an external application ?
If so, best practice is to add them directly to the DB, using SQL

Re: adding users from external application

Posted: Fri Oct 22, 2010 5:20 am
by lakshmikhushi
am trying to add users manually if users are present in external application .so which method i need to call in testlink to add users to database? how to i generate devkey ?

Re: adding users from external application

Posted: Wed Oct 27, 2010 9:38 am
by zeevikn
If you add the users manually on testlink, I suggest you install PHPMyAdmin on the testlink server, which would allow you web access to the DB.
Assuming that, you can add users, with devkey, to the users table on testlink database