Retrieve network storage accounts by username.
Retrieve network storage accounts by username and storage account type. Use this method if you wish to retrieve a storage record by username rather than by id. The ‘‘type’’ parameter must correspond to one of the available ‘‘nasType’’ values in the SoftLayer_Network_Storage data type.
|username||string||The full username you wish to search for.|
|type||string||The type of storage accounts you wish to search.|
Throw the exception “Please provide a username” if no username is passed to this function.
Throw the exception “Please provide a storage account type” if no storage type is passed to this function.