GetUserCategories (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
GetUserCategories( integer userId )
Returns Table (See below)
Description: Returns the user categories of given player.
Member of: InsertService

Table Format

Uses same format as GetBaseCategories.

Example
local categories = Game:GetService("InsertService"):GetUserCategories(player.userId) 
for ndx,catinfo in ipairs( categories ) do 
print( ndx ) 
for k,v in pairs(catinfo) do print( k, "=", v ) end 
end