---
title: "ADObjectPathExists (Opus Funktion)"
---
### Beschreibung

Gibt 1 zurück, wenn der Pfad existiert.

### Argumente

| Name | Typ | Beschreibung |
| --- | --- | --- |
|  | [string](../../standard-datentypen/string.md) | Object Distinguished Name |

### Rückgabewert [integer](../../standard-datentypen/integer.md)

0: Pfad existiert nicht

1: Pfad existiert

### Beispiel

```
if (!ADObjectPathExists(Ls_UserObjectPath))
if (ADObjectPathExists("CN="+Ls_GroupName+",OU=Classes,OU=Groups,OU=STF,DC=STF,DC=CH"))
```

### Siehe auch

---
