Forum Discussion
Transforming the username from lowercase to uppercase
Hello everyone, I have a need and do not know how to solve it. my requirement is to transform the username that customers write in the logon mask in lower case, convert them into uppercase, how can I do within the module APN? Thanks in advance
8 Replies
You can write an iRule and insert it in you access policy. In iRule you should transform the logon.session.last.username variable string to lower case. There is a command for it - string tolower (described here - https://devcentral.f5.com/articles/-the101-irules-101-string-handling-and-manipulation.UyLJBFGSxss)
- Cory_50405
Noctilucent
Instead of 'string tolower', I believe it should be 'string toupper'
- Yes, right
- Gio_129629
Nimbostratus
Thanks for the reply, are still a beginner, but I wrote some iRule. I let you know how it went. thanks
- Gio_129629
Nimbostratus
hi guys, I tried, but with no positive results, I tried to follow this link .. but my logon does not change, however, in UPPER CASE. There cheido lights.
- Gio_129629
Nimbostratus
Ops... this link http://support.f5.com/kb/en-us/solutions/public/14000/600/sol14656
Have you tried to debug this issue? You can use a MessageBox and try to display session.logon.last.username variable before and after you've changed it to upper case. So you'll be able to see whether it changed or not.
- Gio_129629
Nimbostratus
It works .. thanks I did not know the message box .. great resource! Thank you guys!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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