Entwickler » Methoden-Liste » Groups » groups.isMember
Groupsgroups.isMember
Returns information specifying whether a user is a member of a community.
Diese Methode kann von einem Service-Token aufgerufen werden. Nur öffentliche Daten werden zurückgegeben.
Diese Methode kann über einen Benutzertoken aufgerufen werden.
Diese Methode kann über einen Community-Token aufgerufen werden.
Parameter
group_idID or screen name of the community.
String, notwendiger Parameter
user_idUser ID.
positive Zahl
user_idsUser IDs.
Liste positiver Zahlen, mit Komma getrennt
extended1 — to return an extended response with additional fields.
By default: 0.
entweder 1 oder 0
Ergebnis
Returns 1 if the user is a member of the community; otherwise returns 0.

If extended is set to 1, returns an object containing the following fields:
  • member (integer, [0,1]) — whether the user is a member of the community.
  • request (integer, [0,1]) — whether the user left a request to join the group, which can be declined by the groups.leave method.
  • invitation (integer, [0,1]) — whether the user is invited to join the group or event.

Fehler
Allgemeine Fehler

By continuing to browse, you consent to our use of cookies. You can read our Cookie Policy here.