Api/auth.checkowner()

From Minux Wiki
Revision as of 23:21, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is part of the auth client side package and is used to obtain ownership data of a system on the rednet network '''usage:''' auth.checkowner() '''output:''' sets _G.owner to the owner name and _G.ownergroup to the group name, otherwise sets them to nil")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this api is part of the auth client side package and is used to obtain ownership data of a system on the rednet network


usage:

auth.checkowner()


output:

sets _G.owner to the owner name and _G.ownergroup to the group name, otherwise sets them to nil