BASH script for API assignment of assets to users [SOLVED]

Discussion created by 7380857 on Sep 15, 2015
Latest reply on Oct 26, 2015 by 7380857
After getting annoyed with hand-assigning assets to users, I cobbled together this BASH script for assigning assets to users.

It makes some basic assumptions:
1) you already have your employees imported / syncing with SAManage
2) the logged-in user of a computer is the same name as their email

It's slow, but that's a curl + API thing, not an issue with the script itself.

Check it out here: https://github.com/mrcamuti/SAManage_Assets