This is a public Forum  publicRSS

Topic

    Kalaimagal Eswaran
    Contact Roleset ROQL QueryAnswered
    Topic posted September 7, 2017 by Kalaimagal EswaranExplorer, last edited September 12, 2017 by Danette BealGuru 
    38 Views, 4 Comments
    Title:
    Contact Roleset ROQL Query
    Content:

    Hi All,

    I wanted to write a roql query for Community roleset.  I have created a Custom roleset named 'YoungPerson'. 

    Can anyone suggest how do I write a roql query from Customer Portal?

     

    Thanks,

    Kalai Eswar

    Subject edited by Danette Beal for clarity

    Version:
    3.6

    Best Answer

    Richard Keevil

    A lot depends on what you are trying to do.  RoleSets aren't a primary object so they need context. Here's a quick example that shows all the rolesets assigned per social user.

    select SocialUser.rolesets.*, * from SocialUser

    [Edit: I cant spell Social]

    Answer