You need to sign in to do that
Don't have an account?
bdstang
Refer to Custom Object Permissions in User Profiles
Does anyone know how to refer to custom object permissions in user profiles?
{$Profile.Name} will get me the name in a visualforce page, and I can see query some of the attributes of a user profile in SOQL like
Select p.PermissionsAuthorApex, p.PermissionsApiEnabled, p.Name From Profile p
but i can't find any of the Custom Object Permissions or Standard Object Permissions for that matter.
Any help would be appreciated.
Hey
You can try the isAccesible() method for field describe information, should do what you're looking for. The docs are here: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_fields_describe.htm?SearchType=Stem&Highlight=Describe|describes|described|describe
Wes
{!$ObjectType.Contact.fields.Name.Accessible}"