function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
[Select Id from Group where type='Queue' and Name='Queue Name']
Queues are stored as records in the table Group with 'Type' as "Queue". Use this Id of the queue in the query
[Select UserOrGroupId From GroupMember where GroupId =:reqdGroupId]
to fetch all the users or groups which are members of the required queue.