Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用一个 Java 程序,它必须收集可以从用户组派生的信息。
如何从 windows 获取用户的组名?它是在文件中找到的,还是有一些方法/API 来获取它?
请帮忙。
谢谢
此论坛帖子命名和目录 (JNDI) - JNDI、Active Directory 和组成员资格应该让您走上正轨。