Timeline for Script or Code to import from AD to Sharepoint Group All users
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8, 2012 at 16:12 | comment | added | Anatoly Mironov | Hope you could figure out the problems. Share you findings if you can. | |
Mar 8, 2012 at 16:09 | vote | accept | Ziba Leah | ||
Mar 8, 2012 at 15:32 | comment | added | Ziba Leah | Thank you very much.. Code generates an exception like 80040154.. | |
Mar 8, 2012 at 14:35 | history | edited | Anatoly Mironov | CC BY-SA 3.0 |
updated with code sample after comment refinements of the question
|
Mar 8, 2012 at 14:27 | comment | added | Anatoly Mironov | Then you have to add users to some group in SharePoint.. I'll update my post | |
Mar 8, 2012 at 14:05 | comment | added | Ziba Leah | I can get users from AD thanks to you... But in Principal form.. How can i convert this to SPUser?? Or SPPrincipal... | |
Mar 8, 2012 at 9:18 | comment | added | Anatoly Mironov | Allright, you can iterate over all ad groups, get members and add them to SharePoint. Check out my blog post about ou, but write about getting members from ad groups as well | |
Mar 8, 2012 at 9:04 | comment | added | Ziba Leah | Even adding NT Authority\authenticated users, People Picker cannot solve immediatly names and Ensure User wont work... To make it work i need to "introduce personally" every single user from my AD domains to SP | |
Mar 8, 2012 at 8:49 | history | answered | Anatoly Mironov | CC BY-SA 3.0 |