Is there a way to know in an ad-hoc data source which user in the low-code app is requesting the data source ?
Use case is : we want to store some information (e.g. query, dom id) that a user is currently using in a dom instance as a sort of session for that user, so that the same data can be used across pages in a low-code app. For each user such a dom instance could exist which is being filled by an (I)AS. then the data source should return the stored value on the dom instance for that specific user, but it needs the context of the requesting user to be able to do that.
Hi David,
You could leverage the DMS callback that allows you to send any SLNet message (see docs).
There are probably multiple messages that meet the requirement. I tested it with the GetUserFullNameMessage message. This returns a GetUserFullNameResponseMessage with a User property.
Hi David,
You can retrieve the full name of the user that is executing the query using the GQIDMS class. The GetUserFullNameMessage can then be used to retrieve the user.