User in Group

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

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

Example: PewDiePie
foundUserIdstring

the user's ID

Example: 12345678
foundUserNamestring

the user's login name

Example: pewdiepie
foundUserTypestring

the user's platform

Example: twitch
inGroupbool

indicator whether the user is in the specified group or not

Example: 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)