session_login_as
Switch the current session to another DirectAdmin account for direct management. Use it to perform actions as that user when you need persistent access, rather than per-request impersonation.
Instructions
Switch the session into another account (login-as).
Prefer the impersonate= argument on individual tools — it does not mutate the long-lived session.
Args: username: Account to impersonate. confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |