Get the RDP connection file for a session
GET/api/v1/ActivitySession/Rdp/:sessionId
Returns the text of a Remote Desktop (.rdp) file that connects the session's owner through the Netwrix Privilege Secure proxy. It works for sessions on Windows and Active Directory resources, and for interactive application launches that use a remote desktop host. The file uses the screen size and display settings from the system settings and is signed when a signing certificate is configured.
Permission required: Only the user who owns the session.
Caution: The file can hold a one-time connection token that lets whoever has it connect to the session, so handle it as a secret and open it promptly.
Request
Responses
- 200
- 401
- 403
- 404
- 500
The contents of the RDP file as text.
The session or the account is locked, or the request is not signed in.
The caller does not own the session.
The session's resource is not on a platform that supports RDP. This check runs before the ownership check, so a caller who does not own the session can also receive 404.
No activity session exists with this identifier. The server does not handle this case and fails the request instead of returning 404.