Click here to Skip to main content
16,022,255 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more: (untagged)
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,
Posted

1 solution

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
 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900