I'm writing some custom UI for adding new contacts/new contact relationships. In order to control whether that section shows in the form, I'd like to query the system to see if the current user has "Create" or "Edit" privileges on the CONTACT entity (or, really - any entity). How do we do this programmatically? I've been searching for a while, but can't find anything related to this. Do I use the Xrm object, or do I need to call a web service?
Thanks,
Bill