Forums

Load user data from external database

chekwan 25 Jun, 2018
Hi,

Currently my joomla login using LDAP authentication.
Means, it will load external user active directory as a login session.

I have done some try and error and the results:
a) I successfully load user details if user login using joomla user by using {user:name} shortcode.
b) I have successfully can load the data using data read function (to read other database)

My question is:
HOW CAN I LOAD this user details (from external active directory) into my field based on user login session.
Means, different user, field will load different data.
Any shortcode to read the data.?

thank you.
healyhatman 26 Jun, 2018
So you have a logged in Joomla user already?

{user:field}. So id, email, name, etc

Or do you want to log a user in based on the data you read?
chekwan 26 Jun, 2018
hi healyhatman,

yes, i want to load the users details from external database
chekwan 26 Jun, 2018
the flow will looks like below

1. user login using external active directory
2. when login, the details of the logged user will load automatically (this details also load from external database)
This topic is locked and no more replies can be posted.