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.
我正在查询 AD,cn='group_name'并且我正在获取仅包含CN='Employeeid'. 但是是否有可能在一个查询中获取所有成员的详细信息,包括组成员的名字、电子邮件、姓氏?
cn='group_name'
CN='Employeeid'
通常适用于大多数 Microsoft Active Directory 安装的查询:
(&(objectClass=user)(memberof:1.2.840.113556.1.4.1941:=CN=GroupOne,OU=Security Groups,OU=Groups,DC=YOURDOMAIN,DC=NET)
返回要查看的列表属性:
givenname sn mail etc.