bug #41367 [Ldap] Avoid calling the deprecated getUsername() (derrabus)
bug #41367 [Ldap] Avoid calling the deprecated getUsername() (derrabus)

This PR was merged into the 5.3 branch.

Discussion
----------

[Ldap] Avoid calling the deprecated getUsername()

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Commits
-------

080f81f1f4 [Ldap] Avoid calling the deprecated getUsername()

ro0NL/symfony,HeahDude/symfony,Tobion/symfony,tucksaun/symfony,derrabus/symfony,oleg-andreyev/symfony,paradajozsef/symfony,paradajozsef/symfony,phramz/symfony,sgehrig/symfony,nicolas-grekas/symfony,oleg-andreyev/symfony,stof/symfony,d-ph/symfony,damienalexandre/symfony,phramz/symfony,ogizanagi/symfony,derrabus/symfony,ogizanagi/symfony,xabbuh/symfony,nicolas-grekas/symfony,mpdude/symfony,symfony/symfony,mpdude/symfony,symfony/symfony,damienalexandre/symfony,hhamon/symfony,sgehrig/symfony,Tobion/symfony,derrabus/symfony,oleg-andreyev/symfony,ro0NL/symfony,ogizanagi/symfony,mpdude/symfony,tucksaun/symfony,HeahDude/symfony,symfony/symfony,Tobion/symfony,hhamon/symfony,HeahDude/symfony,ro0NL/symfony,paradajozsef/symfony,hhamon/symfony,curry684/symfony,paradajozsef/symfony,xabbuh/symfony,phramz/symfony,curry684/symfony,HeahDude/symfony,tucksaun/symfony,d-ph/symfony,nicolas-grekas/symfony,curry684/symfony,ogizanagi/symfony,ro0NL/symfony,Tobion/symfony,symfony/symfony,hhamon/symfony,sgehrig/symfony,stof/symfony,d-ph/symfony,d-ph/symfony,stof/symfony,mpdude/symfony,sgehrig/symfony,damienalexandre/symfony,curry684/symfony,stof/symfony,damienalexandre/symfony,derrabus/symfony,oleg-andreyev/symfony,xabbuh/symfony,phramz/symfony,tucksaun/symfony,xabbuh/symfony,nicolas-grekas/symfony