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

有帮助吗?

解决方案

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>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top