Jump to content

How can one select user() and other session information


Tom Johnston 3

Recommended Posts

  • 1 month later...
  • 10 months later...

There are functions in /lib that can get e.g the current username and domain - you'd probably have to make them custom functions in order to use them the way you're looking to do.

 

 

 

TDV supports NOW() and other similar time functions out of the box, check the Reference Guide for the full SQL support information.

Link to comment
Share on other sites

  • 3 weeks later...

%CURRENT_USER%  is for Spotfire Current Log in user, for TDV, you need to define a procedurePROCEDURE sp_current_user(OUT CURRENT_LOGIN_USER VARCHAR(30))

BEGIN

   CALL /lib/util/getProperty('CURRENT_USER_NAME', CURRENT_LOGIN_USER);ENDcreate a view on top of it, publish to each VDB for easy access. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...