class User
Class to wrap the information about a user
class attributes
[
NB. Highlighted attributes are static members
]
User()
- The constructor
name()
- Get the username of the user
password()
- Get the encrypted password of the user
uid()
- Get the uid of the user
gid()
- Get the group id of the user
realname()
- Get the real name of the user
home()
- Get the home directory of the user
shell()
- Get the shell of the user
Functions
function
User
The constructor
Declaration:
native function User( number uid )
Parameters:
Parameter #1: number
uid
- The user id to get information about
function
name
Get the username of the user
Declaration:
function name()
Returns:
The username
function
password
Get the encrypted password of the user
Declaration:
function password()
Returns:
The password
function
uid
Get the uid of the user
Declaration:
function uid()
Returns:
The uid
function
gid
Get the group id of the user
Declaration:
function gid()
Returns:
The group id
function
realname
Get the real name of the user
Declaration:
function realname()
Returns:
The real name
function
home
Get the home directory of the user
Declaration:
function home()
Returns:
The directory
function
shell
Get the shell of the user
Declaration:
function shell()
Returns:
The shell
Automatically generated at
8:45pm, Wednesday 08 January 2003
by
feritedoc
.