Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coldfusion Run As account

New Here ,
Jun 04, 2013 Jun 04, 2013

How do you display the run as account in the cf code. I do not have access to the CF administrator. Thanks for any help.

423
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 04, 2013 Jun 04, 2013
LATEST

You can use the java system property java.username:

<cfset sys = CreateObject("java", "java.lang.System")>

<cfset cfusername = sys.getProperty("user.name")>

--

Pete Freitag

Foundeo Inc - Makers of HackMyCF & FuseGuard

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources