set_automatic_login


Description:

public void set_automatic_login (bool enabled)

If enabled is set to true then this user will automatically be logged in at boot up time.

Only one user can be configured to auto login at any given time, so subsequent calls to set_automatic_login override previous calls.

Note this function is synchronous and ignores errors.

Parameters:

this

the user object to alter

enabled

whether or not to autologin for user.