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-profile [2025/04/13 11:38] – system | technical:api-pu-profile [2025/04/13 15:15] (current) – system | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== Change a Permanent User's Profile ====== | ====== Change a Permanent User's Profile ====== | ||
| + | |||
| + | <alert type=" | ||
| + | * RADIUSdesk includes a component called ' | ||
| + | * When this component is configured, any active sessions for a user will be terminated after the profile of a Permanent User is changed | ||
| + | * This comes in handy to activate the new profile upon the user immediately. | ||
| + | </ | ||
| + | |||
| * To change the Profile of a Permanent User we first have to determine the id of the Permanent User. | * To change the Profile of a Permanent User we first have to determine the id of the Permanent User. | ||
| * A CRM system typically do not know the id of the Permanent User in RADIUSdesk. | * A CRM system typically do not know the id of the Permanent User in RADIUSdesk. | ||
| Line 12: | Line 19: | ||
| * The one API is used get a list of Permanent Users to collect their ids. | * The one API is used get a list of Permanent Users to collect their ids. | ||
| * The other API is used to change the Profile of the list of Permanent Users which was obtained. | * The other API is used to change the Profile of the list of Permanent Users which was obtained. | ||
| - | <file php permanent_user_disable_enable.php> | + | <file php permanent_user_change_profile.php> |
| <?php | <?php | ||
| Line 28: | Line 35: | ||
| // Filter settings | // Filter settings | ||
| $filter | $filter | ||
| - | $operator | + | $operator |
| $value | $value | ||
| $limit | $limit | ||