开发者

How do I get the username or PID in Access while using User level security?

开发者 https://www.devze.com 2022-12-16 00:30 出处:网络
Is it possible to get the username or personal ID of a user using user level security with Microsoft Access through VBA?If so, how do I d开发者_运维问答o this?Just to clarify, I\'m not looking to get

Is it possible to get the username or personal ID of a user using user level security with Microsoft Access through VBA? If so, how do I d开发者_运维问答o this? Just to clarify, I'm not looking to get the windows username.


currentuser. Note that if you are not using User Level Security in Access this will return the default Admin.

Added: According to the PID and its use Options discussion you can't access the PID. The fourth posting down by Michael Kaplan states "It [the PID] can never be retrieved at all." And Michael Kaplan was on the Microsoft Access Product Group and thoroughly understands Access.

0

精彩评论

暂无评论...
验证码 换一张
取 消