I've set some users and roles in manager > security section of arcgis server.
Now i want to show a login page on my web application and retrieve roles for the logged in user .
I looked through the reference but didn't find a clue.
It looks simple for Online version. but I don't know how to do it in my local Server version.
where should i start?