adding users from external application

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
lakshmikhushi
TestLink user
Posts: 2
Joined: Fri Oct 15, 2010 5:58 am

adding users from external application

Post 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.
zeevikn
Advanced user
Posts: 18
Joined: Tue Aug 17, 2010 3:08 pm

Re: adding users from external application

Post 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
lakshmikhushi
TestLink user
Posts: 2
Joined: Fri Oct 15, 2010 5:58 am

Re: adding users from external application

Post 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 ?
zeevikn
Advanced user
Posts: 18
Joined: Tue Aug 17, 2010 3:08 pm

Re: adding users from external application

Post 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
Post Reply