User in Group

Check if a Twitch user is a member of a given group

Parameters

User Loginrequired
String

can be a user name or a variable like %userName%

Group Namerequired
String

can be a specific group name or a variable

Variables

The following variables will be populated after executing this sub-action:

Description
foundUserstring

the user's display name

PewDiePie
foundUserIdstring

the user's ID

12345678
foundUserNamestring

the user's login name

pewdiepie
foundUserTypestring

the user's platform

twitch
inGroupbool

indicator whether the user is in the specified group or not

True/False

C# Usage

Check if a user, by username, is a member of a group

0.2.3
public bool UserInGroup(string userName, Platform platform, string groupName)