You need to sign in to do that
Don't have an account?
kabu
How can I query in Permissionsets, Groups and related objects of User?
I am trying this query but getting syntax error:
SELECT Id, IsActive,(Select Id from GroupMembers),
(Select Id from PermissionSetAssignments)
FROM User
WHERE Isactive=true
What is the relationship name used for permissionsets and groupmembers?
SELECT Id, IsActive,(Select Id from GroupMembers),
(Select Id from PermissionSetAssignments)
FROM User
WHERE Isactive=true
What is the relationship name used for permissionsets and groupmembers?
GroupMember object has no lookup to the User object, and therefore cannot be queried from User object. You will need 2 queries:
Hope this helps!
Best regards,
Martijn Schwärzer