rest security 500 internal error
I am using the Geocortex XML security provider and I would like to retrieve the roles that the user belongs to in the client. I noticed that these roles are available at:
However I get an error if I try to view the json
This happens for my local site, and for the sample site. Is there an easy way to get these roles? My fallback is to write my own service to retrieve from the XML, however it looks like this data should be available from the above link?
Cheers,
Alex
-
Hi Alex,
Either use "Get Current User " workflow activity or subscribe to " AuthenticationSucceededEvent " from within your custom module.
Hope this helps,
--Alejandro
0 -
My understanding is that the get current user workflow activity works with windows authentication, but not geocortex xml provider.
I am already using the AuthenticationSucceededEvent to get the username, that works ok, but it does not provide the roles that the user belongs to
0 -
Alex,
"Get Current User" supports both Windows Authentication and Geocortex Security providers - give it a try and let me know.
--Alejandro
0
Please sign in to leave a comment.
Comments
3 comments