Hi,
I'm using arcgis server version on a local computer for my custom application which uses javascript api to load maps, feature layers, editing, etc.
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?