Forum Discussion
Marco_Bayarena_
Altostratus
Nov 04, 2015Strip escape \ from session variable
In APM Access Policy, I am trying to map a drive based on a user's AD Homedirectory attribute. The result of the attribute is \\server\share\folder1\username
This is the custom expression I am ...
Henrik_Gyllkran
Nimbostratus
Nov 06, 2015I'm not one to willingly admit defeat so try this:
homedirectory = expr {[string map { \\\\ \\ } [mcget {session.ad./DEFAULT/Multi_Domain_Auth_act_active_directory_query_12_ag.attr.homeDirectory}]]}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects