IsInGroupWithName

Function: isInGroupWithName()

[object Object]

Defined in: app/util/group.util.ts:12

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

Parameters

tokenParsed

KeycloakTokenParsed | undefined

The parsed keycloak token.

group

[object Object]

The name of the group to check.

role?

[object Object]

The optional role within the group.

Returns

[object Object]

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

On this page