Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

I use this expression for some customers without issue:

expr { "[mcget {session.logon.last.domain}]\\[mcget {session.logon.last.username}]" }
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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.

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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: Image Text

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

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hello Stanislas,

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

thanks a lot

0