Get user id in extension
Question

Hi,

Is it possible to get the current user id inside an extension (the equivalent of GetUserId)? In fact is it possible to call any of the Outsystems built in functions inside extension code?

Hi Mike, the easiest way to get an user id is to create an input parameter for your function of datatype User Identifier and supply the ID every time you call this function in your extension. Other than that, i have not found any .NET classes or libraries that OutSystems supplies for this goal.

Yes, that's what I'm currently doing, I was just wondering if I could skip an input :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.