Get the rockstar license

I was doing a system of banning and this goes by license and by steam id, well let’s say it goes because even the license is not taken cleanly and I’m not getting the verification. Is there a function to obtain it other than consulting the database?

https://runtime.fivem.net/doc/reference.html#_0x7302dbcf


https://forum.cfx.re/search?q=GetPlayerIdentifier

Does not that give me the steam identifier? … because I think I’ve already tried it

Any way to get the rockstar license?

any way to get it? … That is not with a query to the database?

local player = GetPlayers()[1]
local identifiers = GetPlayerIdentifiers(player)

for _, v in ipairs(identifiers) do
    print(v)
end