O
O
olezhenka2018-10-05 22:56:57
API
olezhenka, 2018-10-05 22:56:57

How to get a list of groups where the user is an administrator?

Do I understand correctly that this requires the group.getUserGroupsV2 method?
But how can I find out where I am an administrator among this:

{
  groups:[
    {
      groupId:5523914...0280
      userId:5620...83752
    }
    {
      groupId:53038...6008
      userId:5620...83752
    }
    {
      groupId:55212616...440
      userId:5620...83752
    }
    {
      groupId:505821....315
      userId:5620...83752
    }
    {
      groupId:527762...2173
      userId:5620...83752
    }
    {
      groupId:47369...62535
      userId:5620...83752
    }
    {
      groupId:513161...378191
      userId:5620...83752
    }
    {
      groupId:527482...53549
      userId:5620...83752
    }
    {
      groupId:51565...407545
      userId:5620...83752
    }
    {
      groupId:468390...299047
      userId:5620...83752
    }
  ]
  anchor:LTE4OTI2Mzc0NzQ6LTE4OTI2Mzc1MTA=
}

In the response example on the method page, there is also a role field in the group objects. Why is this field not being passed to me?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question