我怎样才能获得当前登录的Windows用户在Access的VBA? [英] How can I get the currently logged-in windows user in Access VBA?

查看:385
本文介绍了我怎样才能获得当前登录的Windows用户在Access的VBA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过谷歌发现这一点: http://www.mvps.org/access/api/api0008.htm 是这样做的最好方法是什么?

I found this via google: http://www.mvps.org/access/api/api0008.htm is this the best way to do it?

推荐答案

您也可以采用环保,$但问题的规定的方法比较好。用户/应用程序可以改变环境变量。

You could also use Environ$ but the method specified by the question is better. Users/Applications can change the environment variables.

这篇关于我怎样才能获得当前登录的Windows用户在Access的VBA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆