Hi,
I receive this error message : Object reference not set an instance of an object.
My code :
DirectoryEntry computers = new DirectoryEntry( sLDAP + PCTarget, "Domain" + "\\" + "user", "Password", AuthenticationT ypes.Secure);
computers.Optio ns.SecurityMask s = SecurityMasks.O wner | SecurityMasks.G roup | SecurityMasks.D acl | SecurityMasks.S acl;...
User Profile
Collapse
-
Add group to an computer object security tab AD
Hi,
When you create a computer account in Active Directory (manually), you can change "The following user or group can join this computer to a domain". When you do this, the user or group is added to the security tab.
I would like to do this with c# (automatically) and I cannot find a solution.
Thank you for your help
Sorry! I'm not an english people....
No activity results to display
Show More
Leave a comment: