• Topic
  • Discussion
  • VOS.VirtTipsAndTricksWhoAmI(Last) -- DAVWikiAdmin? , 2017-06-13 05:41:28 Edit WebDAV System Administrator 2017-06-13 05:41:28

    Who Am I?


    Identity is the root of many challenges that arise during system usage troubleshooting, especially in situation where fine-grained attribute-based access controls are in use. Thus, it imperative that you (the identity principal) possess knowledge about how to you are being identified to a Virtuoso instance.

    Basically, this is about Virtuoso's equivalent of the "whoami" command on Unix and Linux.


    How to determine your Virtuoso SQL session identity, following a successful login.


    1. SQL through, for instance, iSQL:

      SELECT get_user();

    2. SPASQL (SPARQL-in-SQL) through, for instance, iSQL:

      SPARQL SELECT bif:get_user() {};

    3. SPARQL through, for instance, the /sparql input form:

      SELECT bif:get_user() {}