开发者

Linq to populate ActiveDirectory

I am a Database guy and dotnet novice who needs help with below UseCase

I am using LINQ to populate the DB but I am not sure how to insert/update ActiveDirectory using LINQ any sample code for doing that.

开发者_运维百科

Most code samples on Google show how to query ActiveDirectory but not CRUD operations


There's a "Linq-to-AD" project on CodePlex:

http://www.codeplex.com/LINQtoAD

That should hopefully do what you're looking for! So far, I've only ever seen it used to query the AD, however - don't know if it helps with inserting data.

If that doesn't help - check out these other resources:

If you're on .NET 3.5, go check out this MSDN article: Managing Directory Security Principals in the .NET Framework 3.5.

Otherwise check out this CodeProject article: Howto: (Almost) Everything In Active Directory via C#

Check out this list of Code Samples for System.DirectoryServices on MSDN.

If you're serious about Active Directory Programming in C# or VB.NET, go buy this book:

The .NET Developer's Guide to Directory Services Programming

Linq to populate ActiveDirectory

Hope this helps!

Marc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜