You can get RoleId from groupmember if grop containing role using following SOQL query.
SOQL query:
select Group.RelatedId from GroupMember
Important : Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Hi sunil,
You can get RoleId from groupmember if grop containing role using following SOQL query.
SOQL query:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator
My Blog:- http://mrjavascript.blogspot.in/
Thanks for reply but the id which i am getting is not role id.its showing Insufficient Privileges even I logged in as system admin
[ select RelatedId from group ]