
## ValidateCredentials (1 of 2) {#validatecredentials_1}

Executes credentials validation

**Returns:** True if authentication was successful, otherwise false.

```cpp
ValidateCredentials()
```

---

## ValidateCredentials (2 of 2) {#validatecredentials_2}

Executes credentials validation

**Returns:** True if authentication was successful, otherwise false.

```cpp
ValidateCredentials(System::SharedPtr < IConnection > connection)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |

