Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about pyad

Read more about pyad

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - pyad

Python - Assign user to a sub OU

I want to create an user in a Windows Active-Directory to a special OU. I got the right code already that works fine. But I want to create this user to a sub OU e.g.: Company -> User -> Sales. M...
test-img

Niklas

windows

active-directory

windows-server-2019

python-3.10

pyad

Votes: 0

Answers: 1

Latest Answer

This line is where you are setting the OU where you want to create the user: ou = pyad.adcontainer.ADContainer.from_dn("ou=Company, ou=User, ou=Sales, dc=domain, dc=local") But I think you ...
test-img

Gabriel Luci

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved