Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| technical:api-pu-session [2025/04/13 14:19] – system | technical:api-pu-session [2025/04/13 14:40] (current) – system | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== Terminate a user's sessions ====== | ====== Terminate a user's sessions ====== | ||
| + | |||
| + | <alert type=" | ||
| + | In order for RADIUSdesk to terminate an active session the RADIUS Client or NAS has to be configured correctly. | ||
| + | </ | ||
| + | |||
| * To terminate a user's active sessions we will work on a filtered list of active sessions for a user. | * To terminate a user's active sessions we will work on a filtered list of active sessions for a user. | ||
| * With the sample script we use two APIs | * With the sample script we use two APIs | ||
| * The one API is used get a list of active sessions for a specified Permanent User, if there are any. | * The one API is used get a list of active sessions for a specified Permanent User, if there are any. | ||
| * The other API is used to terminate each of the sessions which was obtained with the first API call. | * The other API is used to terminate each of the sessions which was obtained with the first API call. | ||
| - | <file php permanent_user_disable_enable.php> | + | <file php permanent_user_terminate_session.php> |
| <?php | <?php | ||