Find foundry user Id from first and last name

Hi
I would like to create a typescriot function that will receive a first and last name and will return foundry user id , if found. I have already tried User object but couldn’t find any method to do this

You could wrap the following Multipass API call into a function:

https://github.com/emdgroup/foundry-dev-tools/blob/cca0899594c6cdc9f325a04026b4ce9b082cb89b/libs/foundry-dev-tools/src/foundry_dev_tools/clients/multipass.py#L98

2 Likes