---
title: ".Authenticate (OpenOlat Objektmethode)"
---
### Beschreibung

Diese Methode authentifiziert die OpenOlat Instanz mit dem Server.

### Argumente

| Name | Typ | Beschreibung |
| --- | --- | --- |
| Url | [string](https://manuals.swissmains.com/display/smtschool/string) | Url der OpenOlat Api |
| Username | [string](https://manuals.swissmains.com/display/smtschool/string) | Benutzername für die Authentifizierung |
| Passwort | [string](https://manuals.swissmains.com/display/smtschool/string) [sealed](../../../standard-datentypen/sealed.md) | Passwort für die Authentifizierung |

### Rückgabewert [boolean](https://manuals.swissmains.com/display/smtschool/boolean)

True, falls erfolgreich.

### Beispiel

| MyOlat = OpenOlatCreate(); MyOlat.Authenticate("[https://schule_xyz.openolat.com/restapi/](https://schule_xyz.openolat.com/restapi/)", "dein_username", "dein_passwort"); |
| --- |
