2012-03-28 Windowsログインユーザ名の取得方法 Windows Oracle SELECT SYS_CONTEXT ('USERENV', 'OS_USER') FROM DUAL; Excel VBA If GetUserName(strBuffer, 255) Then MsgBox strBuffer End If ASP <%=Request.ServerVariables("AUTH_USER") %>