문제

I am trying to figure the ADSI query to get the list of users added to the group Remote Desktop Users in an AD domain.

I guess I need to set the appropriate filter to get the result.

I tried something like

(&(objectClass=Remote Desktop Users)(objectCategory=person)

but it doesn't work.

Thanks Sunil

도움이 되었습니까?

해결책

Group membership is determined by the memberOf attribute - not objectClass.

You should try something like this:

(&(memberOf="cn=Remote Desktop Users")(objectCategory=person))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top