I am using wsdl2java to generate client port and service from netsuite wsdl.
I can assign Access Role to Employee in Netsuite using UI. I can view the existing Role to the employee on UI.
I want to do the same using the generated code through API. I tried searching a Role assigned to the Employee but I get all other information than Role when I searched a employee using EmployeeSearchBasic.
There are classes to search SalesRole(which give Sales role only) but I want to get all Roles.
I tries getting the Role by using login() on netsuite, but that gives me single Administrator Role Only.