Mura CMS 6.1

mura.user
Class userUtility

railo-context.Component
        extended by mura.cfobject
            extended by mura.user.userUtility

public class userUtility
extends cfobject

Constructor Summary
init(any configBean, any utility, any settingsManager, any userDAO, any pluginManager)
 
Method Summary
 string getRandomPassword(numeric Length='6', string CharSet='Alpha', string Ucase='no')
 query getUserByEmail([string email], string siteid='')
 query getUserData([string userid='[runtime expression]'])
 boolean login(string username='', string password='', [string siteid=''], [string lockdownCheck='false'], [string lockdownExpries=''])
 any loginByQuery([any rsUser])
 boolean loginByUserID(string userid='', [string siteid=''])
 any returnLoginCheck([any $])
 void sendActivationNotification([any userBean])
 void sendLogin([struct args='[runtime expression]'], [string sendto=''], [string from=''], [string subject=''], [string siteid=''], string reply='', string bcc='', [string message=''])
 string sendLoginByEmail([string email], string siteid='', string returnURL='[runtime expression]', string subject='', [string message=''])
 boolean sendLoginByUser([any userBean], string siteid='', string returnURL='[runtime expression]', boolean isPublicReg='false', string subject='', [string message=''])
 any setMailer(any mailer)
 void setUserStruct([any user], any memberships='', any membershipids='')
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

public init(any configBean, any utility, any settingsManager, any userDAO, any pluginManager)

Parameters:
configBean
utility
settingsManager
userDAO
pluginManager
Method Detail

getRandomPassword

public string getRandomPassword(numeric Length='6', string CharSet='Alpha', string Ucase='no')

Parameters:
Length
CharSet
Ucase

getUserByEmail

public query getUserByEmail([string email], string siteid='')

Parameters:
email
siteid

getUserData

public query getUserData([string userid='[runtime expression]'])

Parameters:
userid

login

public boolean login(string username='', string password='', [string siteid=''], [string lockdownCheck='false'], [string lockdownExpries=''])

Parameters:
username
password
siteid
lockdownCheck
lockdownExpries

loginByQuery

public any loginByQuery([any rsUser])

Parameters:
rsUser

loginByUserID

public boolean loginByUserID(string userid='', [string siteid=''])

Parameters:
userid
siteid

returnLoginCheck

public any returnLoginCheck([any $])

Parameters:
$

sendActivationNotification

public void sendActivationNotification([any userBean])

Parameters:
userBean

sendLogin

public void sendLogin([struct args='[runtime expression]'], [string sendto=''], [string from=''], [string subject=''], [string siteid=''], string reply='', string bcc='', [string message=''])

Parameters:
args
sendto
from
subject
siteid
reply
bcc
message

sendLoginByEmail

public string sendLoginByEmail([string email], string siteid='', string returnURL='[runtime expression]', string subject='', [string message=''])

Parameters:
email
siteid
returnURL
subject
message

sendLoginByUser

public boolean sendLoginByUser([any userBean], string siteid='', string returnURL='[runtime expression]', boolean isPublicReg='false', string subject='', [string message=''])

Parameters:
userBean
siteid
returnURL
isPublicReg
subject
message

setMailer

public any setMailer(any mailer)

Parameters:
mailer

setUserStruct

public void setUserStruct([any user], any memberships='', any membershipids='')

Parameters:
user
memberships
membershipids

Mura CMS 6.1