Skip to main content

current_user

Returns the login of the current user executing the query.

No parameters

Returns: string

Example

Query:

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/>
PREFIX fn: <http://data.world/function/functions#>

SELECT (fn:current_user() AS ?current_user)
{
}

Run query

Results:

current_user

siyeh