Skip to content

user.RemoteUser

Peter edited this page Mar 19, 2024 · 2 revisions

Class: RemoteUser

Extends user.LocalUser

PeterOS Remote user object. No public constructor.

Warning

CAN RETURN nil if another user could not be authenticated with remote

Constructor: RemoteUser(server: string|NetAddress, userName: string, pass: string)

Description

Parameters

  • server: string|NetAddress - Remote server for authentication
  • userName: string - Remote username
  • pass: string - Password

Fields

Variable Description
:

Instance Functions

Signature Return Description
() RemoteUser? Constructor
__init__() nil PACKAGE
save() boolean OVERRIDE Saves the remote user to remote

Detail

Functions

__init__

Queue:__init__(): nil

PACKAGE

Description

Parameters

  • name: type - Description

save

Queue:save(): boolean

Saves the remote user to remote

Returns

  • saved: boolean - Description