Question

How do I find what windows user account Railo is running under on windows 2008 r2?

Was it helpful?

Solution

I believe you can use the System properties, same as in ACF:

<cfscript>
    prop = createObject("java", "java.lang.System").getProperties();
    WriteDump( var=prop["user.name"], label="User.Name");
    WriteDump( var=prop, label="All Properties" );
</cfscript>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top