Forum Discussion
Set session variable for local user db firstname and lastname
Hi team,
I am new to F5, I am currently setting F5 as custom IDP and here is my access policy (attach files). I want to load user first name and last name (a column in local user db) from local user db and save it into the session after user login success. How would I do it?
Does it work if I try to add Variable Assign step after LocalDB Auth with the entry: session.logon.firstname = expr {[mcget {session.localdb.firstname}]} ?
Thank you in advance.
thanhtai1789 - if you haven't been able to resolve this yet let me know - I'll see if I can get an expert to take a look.
- thanhtai1789Altostratus
Hi LiefZimmerman ,
Could you help me to ask an expert to take a look at this question, please?
Thank you in advance.
- buulamAdmin
Hi thanhtai1789 I had a look and I'm afraid I don't see first/last name listed as session variables to work with. This is all I got for the localdb related variables in my testing (first/last name parameters were indeed set for this user):
42c3c3a.session.localdb./Common/ap_localdb_test_act_localdb_auth_ag.result 1 1 042c3c3a.session.localdb.last.result 1 1 042c3c3a.session.logon./Common/ap_localdb_test_act_logon_page_ag.logonname 3 buu 042c3c3a.session.logon./Common/ap_localdb_test_act_logon_page_ag.result 1 1 042c3c3a.session.logon./Common/ap_localdb_test_act_logon_page_ag.username 3 buu 042c3c3a.session.logon.last.logonname 3 buu 042c3c3a.session.logon.last.result 1 1 042c3c3a.session.logon.last.username 3 buu
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com