Forum Discussion

Gio_129629's avatar
Gio_129629
Icon for Nimbostratus rankNimbostratus
Mar 14, 2014

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)

     

  • Instead of 'string tolower', I believe it should be 'string toupper'

     

  • Thanks for the reply, are still a beginner, but I wrote some iRule. I let you know how it went. thanks

     

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

     

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

     

  • It works .. thanks I did not know the message box .. great resource! Thank you guys!