Deployment Guide

466 | The XML-RPC Interface and API Dell Networking W-ClearPassGuest 6.3 | User Guide
l "Method amigopod.guest.reset.password" on page 475
l "Method amigopod.mac.create" on page 476
l "Method amigopod.mac.edit" on page 478
l "Method amigopod.mac.list" on page 480
Method amigopod.guest.change.expiration
Change the expiration time of a guest account.
Parameters
Name Type Description
uid Scalar ID of the guest account to update
guestaccountexpiry Scalar Amount of time in hours before the guest account will expire
Return Values
Name Type Description
error Flag 0 if successful, 1 if an error occurred
message String Status message describing the operation
item Struct Updated user information record
*_error
String Field-specific error message
*_error_flag
Flag Field-specific error flag, set to 1 if present
Access Control
Requires the change_expiration privilege (Guest Manager > Change Expiration in the Operator Profile Editor).
Example Usage
Sample parameters for the call:
'uid' => 162,
'guestaccountexpiry' => 24,
Result returned by a successful operation:
'error' => 0,
'message' => 'Changed expiration time of guest account
Account will expire at 2014-11-28 23:27:00',
'item' => array (
'id' => 162,
'do_expire' => 4,
'expire_time' => 1196256420,
'username' => '',
)
Result returned by a failed operation:
'uid' => 162,
'username' => '',
'expiration_time' => '',