ADDeleteObject (Opus Funktion)

ADDeleteObject (Opus Funktion)

Beschreibung

Deletes an Active Directory object by removing it from its parent container, so it has to be a direct child of OuPath. Both arguments are distinguished names without the \"LDAP://\" prefix. Does nothing when ObjectPath does not exist.

Argumente

Name

Typ

Beschreibung

Name

Typ

Beschreibung

OuPath

string

OU Path
LDAP distinguished name of the container (OU) the object sits directly in

 ObjectPath

string

LDAP distinguished name of the object to delete

Rückgabewert void 

nichts

Beispiel

ADDeleteObject("OU=Classes,OU=Groups,OU=STF,DC=STF,DC=CH",Lo_Groups[Li_i]);

ADDeleteObject("OU=Classes,OU=Groups,OU=STF,DC=STF,DC=CH",Lo_Groups[Li_i]);

Siehe auch

---