Can't provide an existing Salesforce user with portal user permissions

Hello All ,

We have a usecase where : Already existing user in Salesforce with standard profile and permissionsets. We have to provide permission as “portal user” for that We are passing two attribute as per document Usertype : “Portal” and AccountName :"existing Accountname " But we are seeing connector exception

“Errors : [[ ConnectorException ] [ Error details ] INVALID_FIELD: No such column ‘AccountName’ on entity ‘User’. If you are attempting to use a custom field, be sure to append the ‘__c’ after the custom field name. Please reference your WSDL or the describe call for the appropriate names.connector.sdk.webservices.exception.WebServicesSdkException: sf:INVALID_FIELDINVALID_FIELD: No such column ‘AccountName’ on entity ‘User’. If you are attempting to use a custom field, be sure to append the ‘__c’ after the custom field name. Please reference your WSDL or the describe call for the appropriate names.INVALID_FIELDNo such column ‘AccountName’ on entity ‘User’. If you are attempting to use a custom field, be sure to append the ‘__c’ after the custom field name. Please reference your WSDL or the describe call for the appropriate names.-1-1]”
Any help would be appreciated .

Thanks,
Venkat

This relates to the content on this page: Create Portal and Partner Users