In Dynamics 2011 installation i have an Attribute with "Secured" option enabled. And I develope a software, where I use only assemblies from crm 4.0.
With CRM 4.0 assemblies I can retrieve permissions (for particular user), but not prohibitions (i achieve this just quering following dynamic entities: fieldpermission, fieldsecurityprofile). The fact, whether the field is secure i can only read from Metadata and i need crm 2011 assemblies for it (in CRM 4.0 AttributeMetadata class has no property "isSecured").
My Question is: how can i retrive, if the Attribute has field "isSecured" enabled, not using Metadata from CRM 2011, only using CRM 4.0 assemblies ? Maybe i schould query something? Or use SQL (i can use only webservices, i have no direct access to dynamics database)?