Posts by Luiz Angelo • 151 points
2 posts
-
2
votes2
answers1100
viewsA: LDAP and AD - Error adding user to group with C#
If you are in 3.5+ you should start using the System.DirectoryServices.Accountmanagement classes. Everything is much simpler. You have to initialize a Principalcontext and then rely on it to do the…
-
3
votes3
answers1123
viewsA: Error in C# function to increment variable
The main problem is that you are not making use of Object Orientation. But let’s go in parts. Solution 1 You are passing a Type variable by value as parameter. Are you wearing a int. A int is a type…
c#answered Luiz Angelo 151