Windows AD Automation-OU-group-user (2)
I. an outline written according to a chapter
If we want to implement this requirement, we need the following eight basic functions to simplify our code and implement the requirements faster and more flexibly.
Pass in the user name, distinguish the current OU, automatically add the user name to the security group and distribution group, delete the incoming user name of the AD user after the OA,OA is frozen, distinguish the current OU, automatically delete the incoming department name and path from the distribution group of the non-department, generate the OU, pass it to the department, automatically generate the distribution group and security group to the distribution group, and automatically change the properties of the group to be displayed in the address book. Automatically add the group to the superior group and pass in the department name and path to determine whether there is anyone. If there is anyone, move to the non-belonging OU, and then delete the OU.
There is a need to do automatic contact 979122932 to communicate and learn together.