Zum Inhalt

ADRenameObject (Opus Funktion)

Beschreibung

Renames an Active Directory object in-place (changes only the RDN, not the container).

Argumente

Name

Typ

Beschreibung

DistinguishedName

string

OU Path
LDAP distinguished name of the object to rename

NewName

string

Neuer Name (ohne OU-Pfadangabe)
the new RDN (relative distinguished name), e.g. "CN=NewName"

Rückgabewert void

nichts

Beispiel

ADRenameObject(Ls_OUPath, "CN=" + Ls_FullNamePlus);

Siehe auch