feng0hua0,SOEs at 10.1 do not have access to the HTTPContext of incoming request. The REST/Web Services handler intercepts all requests to SOEs and allows only pre-defined ArcGIS specific request information pieces in, such as query params.Could you share more info about what you are trying to accomplish and require the http context inside SOEs for?Thanks!Ajit
do you know by any chance how to get more information from the AGS about the User or Roles?
I need Role's title to work with it, not role ID. I found that there is some method ESRI.ArcGIS.Server.IRoleStore.GetRolesForUser() or other methods on that inteface. But I have no clue how to get hold of that instance in my SOE.
Thanks for any help!
Did you found an answer to this question? How to get access to the interface IRoleStore? There's no documentation on how to get it and no CoClass.
you can get user and roles from soe :
Thanks for the link, but this does not solve my Problem. I know how to return my logged in user and roles, but how can I get Access to the Interface IRoleStore to get all users and all roles to some user?
IRoleStore is used if you need do a custom provider. if you are in a soe you can use rest admin http://resources.arcgis.com/en/help/server-admin-api/security.html
Yes, I know that with the REST Interface I could get the users and roles. My question was more related to the Interface iRoleStore and how to get it. I mean if we can do it by REST then there MUST be an ArcObjects Interface to use.
Retrieving data ...