PAN-OS HTML Variable <user/> Format?

Reply
Highlighted
Art
L3 Networker

PAN-OS HTML Variable <user/> Format?

Hello,

   I am developing custom Response Pages for our site and have a question concerning the <user/> variable's format.  The 'book' says that this variable will have "the username (if available) or IP address of the user".

   My question is if the user name is available - how is it formatted? (i.e. what does it look like if you have the user name?)    I want to detect if I have an authenticated user versus non-authenticated user for which "page" to display.

Thanks

Art

L6 Presenter

Re: PAN-OS HTML Variable <user/> Format?

I guess that depends on if you use a captive portal (and lets say auth against local db) or if you use ts/pan-agent and auth against some domain.

When using ts-agent the look is: domain\username (lets say domain is test and username is wassap then its displayed as: test\wassap).

Art
L3 Networker

Re: PAN-OS HTML Variable <user/> Format?

Thanks Mikand!

   Very helpful!

Art

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!