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
HI 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!
Petr
Hi
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.
thanks
you can get user and roles from soe :
Hi Domenico
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?
Cheers