$memberinfo and ldap

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
Veteran Member
Posts: 79
Joined: 2020-06-10 11:14

$memberinfo and ldap

Post by sacgtdev » 2024-05-08 07:15

May I know how $memberinfo will works in ldap-enabled web? Is logic based onn $memberinfo[username] no longer works when ldap is enabled?

User avatar
Site Admin
Posts: 1301
Joined: 2012-09-27 14:46

Re: $memberinfo and ldap

Post by a.gneady » 2024-05-13 17:42

$memberInfo (the array obtained from calling getMemberInfo(), and passed to most hook functions) should work as usual, whether LDAP is enabled or not. When LDAP is enabled, the AppGini app stores user data (username, and email, but not their password) in its internal membership_users table. $memberInfo includes those stored values.
:idea: AppGini plugins to add more power to your apps:

Post Reply