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

    Who Am I?

    Why?

    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.

    What?

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

    How?

    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() {}

    Related