If LinkedIn was sane, they would not even give such option in their API.
I hope no one forgot LinkedIn literally did the same, in their beginning. On signup they asked you for access to contact list to "search for colleagues", and spammed everyone without account with personal invitation to LinkedIn, with you as sender.
Never forget it. In a sane and well functioning regulatory environment LinkedIn would be forced to close and some jail sentences and wage garnishment would be inflicted upon many executives and responsible parties