PAN-OS HTML Variable <user/> Format?

cancel
Showing results for 
Search instead for 
Did you mean: 

PAN-OS HTML Variable <user/> Format?

L3 Networker

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

1 ACCEPTED SOLUTION

Accepted Solutions

L6 Presenter

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).

View solution in original post

2 REPLIES 2

L6 Presenter

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).

View solution in original post

L3 Networker

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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!