02-02-2016 04:38 AM
Is it possible to capture the username of the current logged in user using the Geospatial Portal SDK and then store the username as a variable which can be used to populate a attribute when inserting a feature through a WFS?
The Geospatial Portal instance has Windows Authentication enabled so every user accessing the portal is authenticated and their username is shown under the Authentication tab.
I know this may be possible through integration with Workflow Manager but that is an expensive product to implement just for this simple requirement.
I appreciate any replies.
Thanks,
Colin
02-04-2016 12:08 AM
Hi Colin
I don't have experiences with Windows Authentication but I wonder - is there any response for the following call?
$GP.user.getCurrent().name
Jan
02-04-2016 03:06 AM
Thanks Jan I will take a look at that call.