Api/auth.setowner()

From Minux Wiki
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.