I need to find all usernames and display names in a group.
C:\>dsget group "CN=thegroup,OU=firstfloor,DC=company,DC=com" -members -expand | dsget user -samid -display
It works but if theres a group inside the group i get an error:
he object class of the target does not match the one specified on the command li
I think i get this error because one of the members in the group is a group..but isnt there any way of only getting the users?