We have a requirement that we limit the ownership of an Account record on the form in our CRM 2013 instance to just User records and prevent them from even choosing a Team as the owner.
What is the cleanest way to do this?
We have a requirement that we limit the ownership of an Account record on the form in our CRM 2013 instance to just User records and prevent them from even choosing a Team as the owner.
What is the cleanest way to do this?
because it's the owner field and it's possible to set the owner in multiple points (not only inside the form, but also with "Assign" buttons on the menus) your only clean way is a a synchronous plugin that will throw an exception if the new owner is a team
The user, who has permission at user level to assign account in their security role, won't be able to put team, unless they are owners of team.
If your user is part of a business unit and they do not have permission to change it to "business unit" level, then the user will not be able to change it to a team level, since team is at BU level.