Replies: 2 comments
-
Hi there @yfsid, Does the user account you have configured in your Also, are you certain this user contains a If so, can you run a test by executing the below on the user from your domain to see if their attribute is visible? use LdapRecord\Models\ActiveDirectory\User;
$dn = '{insert-users-dn-here}';
$user = User::select(['*', 'thumbnailphoto'])->findOrFail($dn);
dd($user->thumbnailphoto); |
Beta Was this translation helpful? Give feedback.
0 replies
-
$user->ldap->getFirstAttribute('thumbnailPhoto') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is it possible to get avatar from AD?
I have already try use
auth()->user()->ldap->getFirstAttribute('thumbnailphoto)
but get null.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions