Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

Member.create()

Create a new member.

Syntax

number = Member.create()

Parameters

The 'Member.create' method takes no parameters

Results

This method returns a unique ID representing the new member if the creation was successful. If the member cannot be created then the method returns a negative number. The most common reason for failure is that the uName parameter is already in use.

Type/Value Range/Length Description
number   Unique ID of the new member (also stored in the ID field of the object). Value is less than zero if creation failed.

Remarks

To create a new member - initialise the fields of the member object then invoke this (create) method on that object. The ID field is ignored in the object and replaced with the new ID if the creation is successful. There are no mandatory fields - if the uName field is not specified then a unique name is auto-generated.

Whitebeam release 1.3.36
(loadtime : 10ms)