Get Portal User role in workflow
Currently we use windows AD and pull the user role into a workflow to set some layer filters when a viewer opens. Aka some departments shouldn't be able to see other departments data.
We are working to migrate to portal based auth. I'm trying to figure out how I can pull the portal role into a workflow so we can accomplish the same type of task. I know the get user activity exists, but it really doesn't do much for portal as the "users and roles" is disabled and cannot be re-enabled.
Any ideas?
0
-
+1
I filed a support case about this yesterday. You can give access to a workflow item to a portal group, but as far as I can see, there is no way to get information about portal group membership from within a workflow. I'll try to keep you posted when I get an answer from VertiGIS0 -
Did you find a solution to this? We have the same requirement to get the Portal Role of the current user (we're using SAML with AD-FS for Geocortex authentication). 0 -
Answer from VertiGIS was that this is not currently possible, since GerUser returns nothing but the username. If I understood right, they are working on some functionality to cope with this. I found a workaround. I can post it later, as I don’t remember the details right now 0 -
We are able to get the user's Email address from the AD-FS claim returned by GetCurrentUser by assigning: email = claim.Where(Function(x) x.Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress").FirstOrDefault().Value but it looks like the claim doesn't contain the role as this needs to come from Portal and not AD-FS. 0 -
We have a developer looking at what is in the SAML claim right now so we'll post an answer if he finds a solution shortly. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
5 kommentarer