Domanda

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

È stato utile?

Soluzione

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>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top