-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a method to get user display name in Java? #587
Comments
Solved with COM4J. |
@ZoroYouth How did you solve this? Could you share your solution with com4j? Is it something waffle shoudl have natively in place? |
thanks. Looks like we had a link to it on this page. -> https://github.com/Waffle/waffle/blob/2a23e7875d9c0f4b79987232a05b57f693bd75e0/Docs/faq/AdditionalActiveDirectoryInfo.md It does appear that project might be no longer active but would be interesting to maybe implements the good parts again here. It looks to use JNI where this uses JNA so its at least plausible to implement something here eventually :) |
Principal principal=request.getUserPrincipal();
From principal, I can get domain and username, but I found there is no display name.
The text was updated successfully, but these errors were encountered: