I think that it is embedded in code so it binds at applicationName = 'esriags'
Were you able to find a solution to this?
Hello Ryan and Ruchira,
Didn't know that the new "geonet"/esri forums auto-email you on an update to an old thread! Nice feature. I would've responded sooner to Ryan's questions but I haven't returned back to this problem since my last post here.
So, unfortunately, I never found a solution to this. We ended up using ArcGIS built-in users/roles but I've used a proxy with a generic arcgis user account that has privileges to the needed services.
I imagine that a custom dll/MembershipProvider can be created which could be based off of the SqlMembershipProvider which would allow you to change the "applicationName" attribute (and any others), but for whatever reason, esri hard-coded it. If you care to find a solution, I would recommend investigating the above suggestion (creating custom provider).
I'm still using server 10.1 sp1 so I don't know if this has changed in any newer releases, but I'll find out later. Plus, the ASP.NET folk have released newer/enhanced membership providers in the past couple of years that should be better (bing or google for asp.net Identity provider).
If you do find a solution, I'd ask for you to post here (if you don't mind). Thanks guys.
Thanks for your reply, Gerado.
I'm trying to figure this out for 10.2.2 right now and they still seem to have the applicationName hardcoded. Pretty annoying. We have a large number of users stored in a SQL Server database using SQLServerMembership. I'm able to connect to that database through AGS, however, when I go to add roles/users, it adds it under another applicationID and applicationName. Seems like they can configure a real simple solution to this instead of making us run around all over the web looking for solutions.
I will keep you posted if I make any process.
Thanks again.
Ruchira
We ended up coding a custom identity provider in Java.
Nice discussion guys. And yes, these things are annoying!
Two things:
First related to Ryan's reply, you could probably follow the help section for ASP.NET which if you follow his link will be right below the Java link in the table of contents. The link is ArcGIS Help (10.2, 10.2.1, and 10.2.2) .
Second, if you'd like to continue with what you have (existing sqlmembership store) you could change the applicationName you're currently using in the database (which by default I believe is "/") to "esriags", but, as long as this doesn't break or interfere with anything else you or your team has built. Then you could change the "applicationName" attribute in your web.config file which would then allow you to map all of your users/roles.
Hope this helps. Thanks for the feedback folks.
if you are interested I have developed a custom identity provider in .net : NicoGis - Sviluppare in ambiente ArcGIS...: Custom Identity store ASP.NET