ReferenceSQL ReferenceSQL FunctionsfunctionsQUERY_USERVersion: current [24.2.x]On this pageQUERY_USERCategories: SystemQUERY_USERReturns the username of the user that is currently logged in to the system. This function cannot be used in a reflection.SyntaxQUERY_USER() → varcharExamplesQUERY_USER exampleSELECT QUERY_USER()-- testuser@dremio.com