LogiView

Function 'user'

     

This function returns a string with the DataView user name of the current user.

 

Syntax:

  {STR_VAR}= user()
 

I/O parameters:

-  
-  
 

Return value:

 
{STR_VAR} DataView user name of the current user.
 

Example:

  Declaration of Variables
 
 10 DOCU_STRING_1 = user()	
 20 if ( DOCU_STRING_1!="DEMOEP_M" )	
 30  put("This function can only be executed by user DEMOEP_M!")	
 40   endif	
  Result:
  For all users except DEMOEP_M the error message "This function can only be executed by user DEMOEP_M!" is displayed.

Functions and commands: Other Functions and Commands