I have a lists of PrimarySMTPAddresses of box users I want to archive and disable. How to I get their boxids, knowing only their login
Is there something like the following?
this_user =client.user(login=primaryAddress).get()
userboxid = this_user.boxid
so I can do things like this.....
this_user = client.user(box_id).get()
(this_user.status != 'inactive'):
deactivated_user = deactivate_this_user.update_info({'status': 'inactive'})