Link to home
Start Free TrialLog in
Avatar of ysnky
ysnkyFlag for Türkiye

asked on

get current user information

hi guys,

i would like to get the current session user information from active directory by ldap in java.

thanks in advance...
Avatar of Mayank S
Mayank S
Flag of India image

You can get the current user-name using System.getProperty ( "user.name" ) ;

For LDAP, try this library: http://www.openldap.org/jldap/
ASKER CERTIFIED SOLUTION
Avatar of Mayank S
Mayank S
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ysnky

ASKER

could you send me source code which list user fullname, email and display name...?
Its available on the link I posted.