Api/auth.setowner()

From Minux Wiki
Revision as of 23:13, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is part of the auth client side package and is used to mark ownership of a specific computer on the auth network '''usage:''' auth.setowner(systemname, groupname) '''output:''' registers this computer ID as systemname on the auth network with the currently logged in user as owner. if groupname is provided then that group will act as a whitelist allowing user access to it's members.")
(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 mark ownership of a specific computer on the auth network


usage:

auth.setowner(systemname, groupname)


output:

registers this computer ID as systemname on the auth network with the currently logged in user as owner.

if groupname is provided then that group will act as a whitelist allowing user access to it's members.