You need to sign in to do that
Don't have an account?

soql for roles
Hi ,
I needed a query which can retrieve users names which has no roles assigned to it.
Please help..
Regards”
I needed a query which can retrieve users names which has no roles assigned to it.
Please help..
Regards”
I need a little more help. I need a query which will fetch teh following -
1. Pagelayout which are not assigned to profiles and record types.
2. Users which are haing more than one profile.
Regards
2. Users can only have one profile
1. You can not query on page layouts.
2. Users can have only one profiel but can ave more than one permission set.
Thank you all for your suggestion.
@Vinita - Can we query , a user is having how many permision sets.
Regards
Yes it is poosible. Use the PermissionSetAssignment object to query permission set assignments to find out which permission sets are assigned to which users. For sample queries refer following document:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_permissionsetassignment.htm