Need Help with the DirectoryServices namespace in .net 3.5
-
Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim
-
Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim
Does anyone know anything on this topic? I don't want to sound impatient!
Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/
-
Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim
Sorry can't help with VS 2008/.Net 3.5 but you could always copy the code from the blog and try the auto-conversion to vb using this link http://www.developerfusion.com/tools/convert/csharp-to-vb[^]
modified on Thursday, October 2, 2008 11:10 AM
-
Sorry can't help with VS 2008/.Net 3.5 but you could always copy the code from the blog and try the auto-conversion to vb using this link http://www.developerfusion.com/tools/convert/csharp-to-vb[^]
modified on Thursday, October 2, 2008 11:10 AM
That tool was really useful, especially since it was free as I have seen expensive tools that do similar things! Thanks for that. Ok So this has helped me build the code into a VB Class.. I am stuggling with implementing the same class into my project.. as it might get confusing to go deeper into the actually code I am working on can someone provide a rough example of how to "get" and "set" values on custom properties constructed in a class. My memory needs refreshing.. Does that make sense?
Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/
-
That tool was really useful, especially since it was free as I have seen expensive tools that do similar things! Thanks for that. Ok So this has helped me build the code into a VB Class.. I am stuggling with implementing the same class into my project.. as it might get confusing to go deeper into the actually code I am working on can someone provide a rough example of how to "get" and "set" values on custom properties constructed in a class. My memory needs refreshing.. Does that make sense?
Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/
Ok So for anyone interested I found some code that I can use.. http://www.codeverge.net/ng.asp-net-forum.security/getting-extended-user-information-from-active-directory[^] .. unfortunately this code is the "old" way of doing what I want to do, as in on .NET 2.0 this would be how it is done, I guess I will use this for now and get on with it.. upgrade my code later when I find more documentation on the 3.5 System.DirectoryServices.AccountManagement namespace.
Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/