Forum Discussion
Remove all Characters after specific character
Hello I have simple Access policy flow with a Variable assignment- username and password. I'm asking the users for username only and the APM adding the domain. "session.logon.last.domain = Text mydomain.COM" There are few users who get confused and trying to enter their email address, testuser@domain.com. I want to be able to catch it and remove the string "@domain.com". The second option is to remove everything after @ sign. I can't find a way to do it. Appreciate your help.
Thanks.
- Stanislas_Piro2
Cumulonimbus
Hi,
in the logon page configuration, enable option Split domain from full Username
the username will contain only username part from 2 types of user names:
- DOMAIN\username
- username@DOMAIN.LOCAL
- The-messenger
Cirrostratus
Not an answer but question on this. What is the TCL command that would perform the same action? To remove everything after a character. I'm currently trying to format a username and I'm not sure what the app is looking for. If my current session.logon.last.username is sameaccountname_domain.local, how can I remove the underscore and everything after it?
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