Comment afficher l’utilisateur connecté dans le rapport qlikview ?

0
57

Check this

OSuser( )

Returns a string containing the name of the current user as returned by the operating system.

QVuser( )

Returns a string containing the name of the current QlikView user as entered in a section access.

ComputerName( )

Returns a string containing the name of the computer as returned by the operating system.

 

 

SET vUserName = UPPER(OSUser());

(note : attention au copier coller)

‘Logged In as ‘ & upper(right(OSUser(),num(len(OSUser()) –  Index(OSUser(), ‘\’)))) SET vScriptUserName = Right( Right($(vUserName), Len($(vUserName)) – FindOneOf($(vUserName),’;’)),

Len(Right($(vUserName), Len($(vUserName)) – FindOneOf($(vUserName),’;’))) – FindOneOf(Right($(vUserName), Len($(vUserName)) – FindOneOf($(vUserName),’;’)),’=’) );

LEAVE A REPLY

Please enter your comment!
Please enter your name here