IsInGroupWithName

Function: isInGroupWithName()

[object Object]

Defined in: util/group.util.ts:13

Checks if the current user is in a specific group with an optional role.

Parameters

tokenParsed

TokenParsed

The parsed token.

group

[object Object]

The name of the group to check.

role?

[object Object]

The optional role within the group.

year?

[object Object]

The optional year of the membership.

Returns

[object Object]

True if the user is in the specified group, false otherwise.

On this page