function clUser( userid, uniquekey, fname, lname, type, active, isManager )
	{
	this.userid    = userid
	this.uniquekey = uniquekey
	this.firstname = fname
	this.lastname  = lname
	this.type      = type
	this.active    = active

	this.isManager = isManager; // Added for Learning Center

	return this
	}

function cloneUser( userData )
	{
	if ( userData == null )
		return null;

	var oNew = new clUser( userData.userid, userData.uniquekey,
	                       userData.firstname, userData.lastname,
	                       userData.type, userData.active, userData.isManager )
	return oNew;
	}

function clEffectiveUser( yuk, fname, lname, isDirect, isIndirect )
	{
	this.yuk        = yuk;
	this.firstname  = fname;
	this.lastname   = lname;
	this.isDirect   = isDirect;
	this.isIndirect = isIndirect;
	}

function cloneEffectiveUser( userData )
	{
	if ( userData == null )
		return null;

	var oNew = new clEffectiveUser( userData.yuk,
	                                userData.firstname, userData.lastname,
	                                userData.isDirect, userData.isIndirect )
	return oNew;
	}

function clConnectedUser( userid, uniquekey, fname, lname, appl, logindate, connectid, scclient, flags, isRestricted )
	{
	this.userid    = userid
	this.uniquekey = uniquekey
	this.firstname = fname
	this.lastname  = lname
	this.appl	  = appl
	this.logindate = logindate
	this.connectid = connectid
	this.scclient = scclient
	this.flags    = flags
	this.isRestricted = isRestricted
	return this
	}

function clLockData( userid, uniquekey, fname, lname, tableid, recordid, lockdate, connectid, isRestricted )
	{
	this.userid    = userid
	this.uniquekey = uniquekey
	this.firstname = fname
	this.lastname  = lname
	this.tableid	  = tableid
	this.recordid  = recordid
	this.lockdate = lockdate
	this.connectid = connectid
	this.isRestricted = isRestricted
	return this
	}

function clUserGroupRel( key, name, desc, path, type )
	{
	this.key  = key
	this.name = name
	this.desc = desc
	this.path = path
	this.type = type
	return this
	}

function clUserData( maxPoints, earnedPoints, totalTime, actualTime, totalStarts, actualStarts, status, startDate, endDate )
	{
	this.maxPoints = maxPoints
	this.earnedPoints = earnedPoints
	this.totalTime = totalTime
	this.actualTime = actualTime
	this.totalStarts = totalStarts
	this.actualStarts = actualStarts
	this.status = status
	this.startDate = startDate
	this.endDate = endDate
	return this
	}

function clProfileListRecord( key, name, code, source )
	{
	this.key = key;
	this.name = name;
	this.code = code;
	this.source = source;
	return this;
	}
