Access User meta data inside Foundry Typescript Functions

Hello,

When a user calls an action that is backed by a Typescript V1 function, is it possible to access the meta data of the calling user?

Specifically, I want to access their session information so I can pass it along to the External System (Console App OSDK) that my function is reaching out to so that it uses the same Auth context all the way throughout the action call.

Thanks!

You can access user metadata through the TypeScript Ontology SDK functions, which is only available in Typescript V2 due to the extra security mechanisms with V2.

1 Like

Hi, I am trying to access the groups via the Typescrip V2 OSDK and am getting empty responses even though I can get user information. So this api is working:
Get User • API Reference • Palantir

While this one is not:
List Group Memberships • API Reference • Palantir

Any Idea? The foundry foundry.admin library is on version 2.16

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.