Given User.Id, how do I check with SOAP if this user has permission to create Contact or Lead?
Update: So far I've discovered only this solution:
SELECT ProfileId FROM User WHERE Id='0056g000002TnrpAAC'
SELECT Id FROM PermissionSet WHERE ProfileId='00e6g000000mn74AAA' // This we will use as ParentId in next query
SELECT PermissionsCreate FROM ObjectPermissions WHERE ParentId = '0PS6g000004cEH7GAM' AND SobjectType='Lead'
Is it possible to do it with one or two queries?