How to add an active directory OU to a sharepoint site?
-
Hi, I have done a full import of users on my active directory company but only to a specific OU (OU=DSI,DC=*****,DC=CO,DC=MZ) and it fetched over 94 profiles. Only then i'm able to run this command from stsadm to add those imported users to a specific group in sharepoint which works fine. After adding a specific user it pulls all other relevant info from the AD :-O stsadm -o adduser -url url -userlogin DOMAIN\user -useremail email address -role rolename -username displayname But i see a lot of drawbacks on this, so instead of adding one user at a time is there a way of adding the whole OU to my sharepoint site? Regards,
-
Hi, I have done a full import of users on my active directory company but only to a specific OU (OU=DSI,DC=*****,DC=CO,DC=MZ) and it fetched over 94 profiles. Only then i'm able to run this command from stsadm to add those imported users to a specific group in sharepoint which works fine. After adding a specific user it pulls all other relevant info from the AD :-O stsadm -o adduser -url url -userlogin DOMAIN\user -useremail email address -role rolename -username displayname But i see a lot of drawbacks on this, so instead of adding one user at a time is there a way of adding the whole OU to my sharepoint site? Regards,
Hello Hope this link will help you out in your query . http://blogs.msdn.com/sumanc/archive/2007/06/28/moss-profile-search-ldap-query-to-remove-disabled-and-service-accounts.aspx Regards