Garry's Mod Wiki

Player:GetUserGroup

  string Player:GetUserGroup()

Description

Returns the player's user group. By default, player user groups are loaded from garrysmod/settings/users.txt.

Returns

1 string
The user group of the player. This will return "user" if player has no user group.