# Sandbox.Modals.IModalSystem.ServerPassword

```csharp
System.Threading.Tasks.Task<string> ServerPassword(string serverName)
```

Ask for the password of a server we're joining. Null or empty if they'd rather not join.

### Parameters

- `serverName` (`string`)

### Returns

`System.Threading.Tasks.Task<string>`

Declared in [Sandbox.Modals.IModalSystem](/api/Sandbox.Modals.IModalSystem).
Assembly: `Sandbox.Engine`.
