Forum Discussion

mjnicole's avatar
mjnicole
Contributor
14 years ago

Re: Context objects for custom components - user

Is it possible to use FreeMarker to get the user's SSOID in single sign-on implementations? If so, what is the syntax? I tried ${user.ssoid} and it crashed.

1 Reply

  • @mjnicole: The SSOID is not available in a freemarker object. You need to use the REST API to get it like this:

    <#assign user_sso_id = restadmin("/users/id/${user.id}").user.sso_id[0]!"" />