Revision Difference
Player:SetUserGroup#544629
<function name="SetUserGroup" parent="Player" type="classfunc">
	<description>Sets the usergroup of the player.</description>
	<description>Sets the usergroup of the player. Same as Player:SetNWString('UserGroup',string groupName).</description>
	<realm>Server</realm>
	<file line="49-L55">lua/includes/extensions/player_auth.lua</file>
	<args>
		<arg name="groupName" type="string">The user group of the player.</arg>
	</args>
</function>
<example>
	<description>Make the player superadmin and print their group.</description>
	<code>
Entity( 1 ):SetUserGroup( "superadmin" )
print( Entity( 1 ):GetUserGroup() )
	</code>
	<output>
```
superadmin
```
</output>
</example>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help