0
我想選擇AD的信息。我需要知道,哪些組是視圖和訪問這些視圖的用戶。如何選擇Active Directory的所有組?
這個查詢,我對用戶信息
SELECT
*
FROM OPENQUERY(ADSI,'<LDAP://DC=dominio,DC=com,DC=br>;(&(objectCategory=person)(objectClass=user));
sn,
sAMAccountName,
displayName,
mail,
telephoneNumber,
mobile,
physicalDeliveryOfficeName,
department,
division;
subtree')
PS:編輯,如果你認爲有必要