+ Start a Discussion
mohan s 37mohan s 37 

How do we query the UserTerritory associated accounts?

        We have territories enabled. I want to query the Userterritory associated accounts. how do we get this. For example if we have ut1,ut2 and ut3. If user is changed from ut2 to  ut1 i want all the accounts under ut1,ut2 and ut3.

NagendraNagendra (Salesforce Developers) 
Hi Mohan,

Sorry for this issue you are encountering.

May I suggest you please check below link from the stack exchange community with a similar discussion which might help you further. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

mohan s 37mohan s 37
Hi Nagendra,

                       Thanks for your reply.The link you provided does not resolved my issue. You provided getting user and it's territory information but, I need userterritory and it's associated accounts.

Mohan S