I haven't found any samples or turtorials on how to do it so I'm asking here, for a native android app I need the user to login using his SamAccountName and password. First I need to check wether the user exists and then query wether he is inside a group so that he has the rights to use the app.
If any of you guys have sample code or a guide on how to do it would be appreciated. I'm using android studio 2.3 with gradle 3.3.
Edit the basic thing I want to do is authenticate make sure the credentials of the user are ok then proceed to my mainactivity, I'm also new to active directory in general so any help regarding android and LDAP authentication is welcome.