function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
SELECT Id, (SELECT Id FROM UserTeams) FROM User
Just add the fields, filters and conditions required.
Correct way is below.
SELECT Id, UserId, User.Name, TeamMemberRole FROM UserTeamMember where ownerid = 'SOME_USER_ID'