1 person found this helpful
Not directly. Well, unless you want to embed admin credentials in the HTML, which would be...bad.
I'm not entirely clear what information you're trying to pull for the current user. Is it membership in a security group? Or is it the value of a custom profile property?
What would be possible is to create an API on a middleware server that queries Jive using elevated privileges. So your HTML widget would call a service on the middleware server, that in turn calls Jive as an admin. This way, the admin credentials wouldn't be exposed to the world. There might still be security implications (how does the middleware server know that the indicated person is actually making the API call?), but nothing that can't be resolved.
Hi Walter Gildersleeve, thank you for this detailed information. Your answer is similar to what i figured about my requirement.
I'm trying to get the membership from current user in a security group.
Get profile properties is no problem.
I believe this to be the best solution. Fortunately we have an other solution server on azure, that already call the jive API as admin, exactly for same security group membership request
We will check how we'll get this middleware server going.
Thank you very much for this advice!
Always happy to help!
2 people found this helpful
Is this what you're trying to do? This will pull a list of security groups for the current user. It doesn't require admin for them to view their own groups.
Yes, you're right. Exactly what I'm looking for
Thank you Dominic G!
This is what I'm using now on Overviewpages:
If you have any suggested improvements, please let me know