Api/minux.login(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "minux.login() attempts to log in to either local or network auth, depending on system settings. useage: minux.login(username,password) output: Sets the proper login variabels for other programs to use. _G.validlogin =.bool. True = Pass accepted. _G.login = string = the username _G.Masterpass = string = password _G.isadmin = bool, true = admin mode. _G.owner = the user this system belongs to, network only _G.ownergroup = the group that has user access to this system, ne...")
 
No edit summary
Line 1: Line 1:
minux.login()
attempts to log in to either local or network auth, depending on system settings.
attempts to log in to either local or network auth, depending on system settings.


useage:
 
'''useage:'''
 
minux.login(username,password)
minux.login(username,password)


output:
 
'''arguments:'''
 
username - the username you want to log in as
 
password - the password for that username
 
 
'''output:'''
 
Sets the proper login variabels for other programs to use.
Sets the proper login variabels for other programs to use.
_G.validlogin =.bool. True = Pass accepted.
_G.validlogin =.bool. True = Pass accepted.
_G.login = string = the username
_G.login = string = the username
_G.Masterpass = string = password
_G.Masterpass = string = password
_G.isadmin = bool, true = admin mode.
_G.isadmin = bool, true = admin mode.
_G.owner = the user this system belongs to, network only
_G.owner = the user this system belongs to, network only
_G.ownergroup = the group that has user access to this system, network only
_G.ownergroup = the group that has user access to this system, network only

Revision as of 04:33, 24 September 2024

attempts to log in to either local or network auth, depending on system settings.


useage:

minux.login(username,password)


arguments:

username - the username you want to log in as

password - the password for that username


output:

Sets the proper login variabels for other programs to use.

_G.validlogin =.bool. True = Pass accepted.

_G.login = string = the username

_G.Masterpass = string = password

_G.isadmin = bool, true = admin mode.

_G.owner = the user this system belongs to, network only

_G.ownergroup = the group that has user access to this system, network only