Forum Discussion

kgaigl_191639's avatar
kgaigl_191639
Icon for Nimbostratus rankNimbostratus
Nov 14, 2017

can't get APM to assign my variables

Hello,

I've got to commit username as domain\username to a HTML5/RDP Gateway (Remote Spark) but I can't get it to work. I've got in my Policy which is used for othe Portal Access a "variable Assign" where I define the domain

session.logon.last.domain = bvk
. I tried to add a new entry:
session.logon.last.username = { "bvk\\[mcget {session.logon.last.username}]" }
but I can't see in the session these variables.

All the other things in the Policy are working (Portal Access, remote Desktop)

somebody an Idea?

thanks a lot

edit: working on Version 13

  • you can use following format:

    session.logon.last.username =

    return { "bvk\\[mcget {session.logon.last.username}]" }
    

    or

    session.logon.last.username =

    "bvk\\[mcget {session.logon.last.username}]"
    

    but not with curly brackets only.

  • kgaigl's avatar
    kgaigl
    Icon for Cirrocumulus rankCirrocumulus

    Thank you,

     

    but I don't see something like bvk\user under the session-variables. I tried all the different things (If I use the last one, I get a message:

     

    I tried with ok and with abbrechen (=cancel) I got no success

     

  • I use this expression for some customers without issue:

    expr { "[mcget {session.logon.last.domain}]\\[mcget {session.logon.last.username}]" }
    
  • kgaigl's avatar
    kgaigl
    Icon for Cirrocumulus rankCirrocumulus

    Hello Stanislas,

     

    after doing it from the beginning, everything works fine now.

     

    thanks a lot