Component (Components.AdminCtrl.UserIO)
Only the functions and data members that are accessible from your location are displayed
ExtendsComponents.AdminCtrl.FieldsIO
HintThis component provides basic user functions.
this
public
addUser
Public Function addUser
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Adds all values for a user. Creates also a disk.
arguments
labelnamerequiredtypedefaulthint
valueStructuretruestructnullThe names and their values.
return typestruct
addUserGroups
Public Function addUserGroups
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Makes a user member of groups.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
wg_idtruestringnullThe ID(s) of the groups.
return typestruct
addUserStandardValues
Public Function addUserStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Inserts the standard values for a user.
arguments
labelnamerequiredtypedefaulthint
standardStructuretruestructnullThe standard names and their values.
return typestruct
checkNumericList
Public Function checkNumericList
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Checks if each element in a list is numeric
arguments
labelnamerequiredtypedefaulthint
listtruestringnullThe list to check
addfalsenumericnullIf a list is empty, then add the add
return typeany
COMPONENTCACHE
Struct
concatQuery
Public Function concatQuery
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Concats two queries, and returns one query
arguments
labelnamerequiredtypedefaulthint
query1truequerynullThe first query.
query2truequerynullThe second query.
columnListfalsestring*If you want to select only some columns in stead of of all columns. Usefull if you want to concat queries with different columns.
return typequery
countUserGroups
Public Function countUserGroups
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the amount of groups of a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
countUserLoginStats
Public Function countUserLoginStats
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the amount of logins for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
countUsersOnline
Public Function countUsersOnline
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the amount of online users.
arguments
labelnamerequiredtypedefaulthint
return typestruct
createComponent
Public Function createComponent
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
CreateCustomField
Public Function CreateCustomField
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Creates a new custom field.
arguments
labelnamerequiredtypedefaulthint
wcf_nametruestringnullThe display name.
wcf_varnametruestringnullThe internal var name, the column name.
wcf_wistypetruenumericnullThe type of the field, 1=company,2=group,3=user
mcft_idtruenumericnullThe type of the field, 1=tekst,2=select,3=photo,4=textarea,5=selectmultiple
return typestruct
CreateCustomFieldOption
Public Function CreateCustomFieldOption
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Creates a new option for a custom field
arguments
labelnamerequiredtypedefaulthint
wcf_idtruenumericnullThe id of the multiple select field
wcfs_varnametruestringnullThe unique variable name
wcfs_valuetruestringnullThe value of the new option
return typestruct
createHash
Public Function createHash
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns a hashed password
arguments
labelnamerequiredtypedefaulthint
passwordfalseanynull
return typestring
deleteUser
Public Function deleteUser
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Deletes a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
deleteUserGroups
Public Function deleteUserGroups
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Removes a user from groups.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
wg_idtruestringnullThe ID(s) of the groups.
return typestruct
displayAlertError
Public Function displayAlertError
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Alerts optional errormessages.
arguments
labelnamerequiredtypedefaulthint
inputStructuretruestructnullThe structure returned from another function
addScriptTagsfalsebooleantrueDo you want to add the script tags around the alert message?
return typestruct
displayHTMLError
Public Function displayHTMLError
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Displays optional errormessages in HTML.
arguments
labelnamerequiredtypedefaulthint
inputStructuretruestructnullThe structure returned from another function.
return typestruct
filterUsers
Public Function filterUsers
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the records of inputquery where the users are below the company specified.
arguments
labelnamerequiredtypedefaulthint
wc_idtruenumericnullThe ID of the company.
filterQuerytruequerynullThe query to be filtered.
return typestruct
generateAddSQL
Public Function generateAddSQL
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Generates output for a SQL query statement (adding).
arguments
labelnamerequiredtypedefaulthint
addStructuretruestructnullThe columns and values to add.
return typestruct
generateUpdateSQL
Public Function generateUpdateSQL
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Generates output for a SQL query statement (updating).
arguments
labelnamerequiredtypedefaulthint
updateStructuretruestructnullThe columns and values to update.
return typestruct
genPos
Public Function genPos
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Creates an order id for queries
arguments
labelnamerequiredtypedefaulthint
keytruestringnullThe key the of id's
listtruestringnullThe list of id's
return typestring
getComponent
Public Function getComponent
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
componentNametruestringnull
return typeany
getCustomInfo
Public Function getCustomInfo
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the info about the custom names for companies, groups or users.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group, user or file.
ml_idtruenumericnullThe ID of the language.
return typestruct
getCustomSelectInfo
Public Function getCustomSelectInfo
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the options of a selectfield for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
wcf_idtruenumericnullThe ID of the field.
ml_idtruenumericnullThe ID of the language.
return typestruct
getCustomSelectorInfo
Public Function getCustomSelectorInfo
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
arguments
labelnamerequiredtypedefaulthint
selectorListtrueanynull
ml_idtruenumericnull
return typeany
getCustomValues
Public Function getCustomValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the custom values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruestringnullThe ID(s) of the companies, groups or users.
ml_idtruenumericnullThe ID of the language.
return typestruct
getQuery
Public Function getQuery
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Allows you to create a query in a cfscript.
arguments
labelnamerequiredtypedefaulthint
bodytruestringnullThe body of the query
return typequery
getQueryRecords
Public Function getQueryRecords
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns the specified amount of records.
arguments
labelnamerequiredtypedefaulthint
querytruequerynullThe query.
recordCounttruenumericnullThe amount of records to return.
return typequery
getSomVerzorgerId
Public Function getSomVerzorgerId
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the verzorgerId given the verzorgder UUID
arguments
labelnamerequiredtypedefaulthint
sourceIdfalseanynull
return typenumeric
getUser
Public Function getUser
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Gets a Java User object
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnull
return typeany
getUserByLoginName
Public Function getUserByLoginName
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the wu_id of the user with the given loginname
arguments
labelnamerequiredtypedefaulthint
wu_loginnametruestringnullThe proposed login.
searchInSLFfalsebooleanfalseInclude secondary login field
return typenumeric
getUserByLoginNameAndCompany
Public Function getUserByLoginNameAndCompany
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the wu_id of the user with the given loginname
arguments
labelnamerequiredtypedefaulthint
wu_loginnametruestringnullThe proposed login.
wc_idfalsenumeric-1The id of the company.
searchInSLFfalsebooleanfalseInclude secondary login field
return typenumeric
getUserCustomInfo
Public Function getUserCustomInfo
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the info about the custom names for users.
arguments
labelnamerequiredtypedefaulthint
ml_idtruenumericnullThe ID of the language.
return typestruct
getUserCustomSelectInfo
Public Function getUserCustomSelectInfo
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the options of a selectfield for users.
arguments
labelnamerequiredtypedefaulthint
wcf_idtruenumericnullThe ID of the field.
ml_idtruenumericnullThe ID of the language.
return typestruct
getUserCustomValues
Public Function getUserCustomValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the custom values for users.
arguments
labelnamerequiredtypedefaulthint
wu_idtruestringnullThe ID(s) of the users.
ml_idtruenumericnullThe ID of the language.
return typestruct
getUserDefaultValues
Public Function getUserDefaultValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the default values for a user.
arguments
labelnamerequiredtypedefaulthint
return typestruct
getUserGroups
Public Function getUserGroups
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the groups of a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
getUserIdBySourceId
Public Function getUserIdBySourceId
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
arguments
labelnamerequiredtypedefaulthint
idFieldtruestringnullthe field in which the source id is stored
sourceIdtruestringnullthe source id of the user
wc_idtruenumericnullThe id of the company
return typeany
getUserLoginDetails
Public Function getUserLoginDetails
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
arguments
labelnamerequiredtypedefaulthint
loginnamefalseanynull
passwordfalseanynull
return typeany
getUserLoginStats
Public Function getUserLoginStats
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the logins for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
startdatefalsenumericnullThe start of the timespan (in WISnumberformat(r)).
enddatefalsenumericnullThe end of the timespan (in WISnumberformat(r)).
return typestruct
getUserMaxLogin
Public Function getUserMaxLogin
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the most recent login for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
getUserProperties
Public Function getUserProperties
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
arguments
labelnamerequiredtypedefaulthint
loginnamefalseanynull
propertyStringfalseanynull
searchInSecondaryLoginFieldfalseanytrue
return typeany
getUsersByEmailAdress
Public Function getUsersByEmailAdress
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the wu_id of the user with the given email adress
arguments
labelnamerequiredtypedefaulthint
wu_emailtruestringnullThe email adress of the user(s) you seek.
wc_idtrueNumericnullThe company you want to search for this user
wg_idfalseNumeric0The group the user(s) are in
return typearray
getUsersFromCompany
Public Function getUsersFromCompany
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns all the users of a company. Can also filter usertypes.
arguments
labelnamerequiredtypedefaulthint
wc_idtruenumericnullThe company id
wg_type_filterfalsestring0,1,2,3Specifies a list of group types, only the which are in a lists group type will be getted.
return typestruct
getUsersOnline
Public Function getUsersOnline
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the online users.
arguments
labelnamerequiredtypedefaulthint
return typestruct
getUserStandardNames
Public Function getUserStandardNames
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the standard names for users.
arguments
labelnamerequiredtypedefaulthint
return typestruct
getUserStandardValues
Public Function getUserStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the standard values for users.
arguments
labelnamerequiredtypedefaulthint
wu_idtruestringnullThe ID(s) of the users.
return typestruct
getUserType
Public Function getUserType
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Gets the maximum role of a user (lite, normal or admin).
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
getUserValues
Public Function getUserValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns all values for users.
arguments
labelnamerequiredtypedefaulthint
wu_idtruestringnullThe ID(s) of the users.
ml_idtruenumericnullThe ID of the language.
return typestruct
grep
Public Function grep
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
finds a struct with given property value in array of structs
arguments
labelnamerequiredtypedefaulthint
arrtrueanynull
proptrueanynull
valuetrueanynull
return typeany
isAdmin
Public Function isAdmin
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Checks if the given user is administrator.
arguments
labelnamerequiredtypedefaulthint
wu_idfalsenumeric-1The ID of the user to check.
return typeboolean
isUserInGroup
Public Function isUserInGroup
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns if the user is in the given group.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
wg_idtruenumericnullThe ID of the user.
return typeboolean
isUserLoginUnique
Public Function isUserLoginUnique
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns whether the login is unique or not.
arguments
labelnamerequiredtypedefaulthint
wu_loginnametruestringnullThe proposed login.
wu_idfalsenumeric-1The ID of the user.
return typeboolean
isUserOnline
Public Function isUserOnline
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns the status of a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typeboolean
isValidUser
Public Function isValidUser
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Checks if the given user exists.
arguments
labelnamerequiredtypedefaulthint
wu_idfalsenumeric-1The ID of the user to check.
return typeboolean
joinLists
Public Function joinLists
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Joins two lists and filters the duplicates.
arguments
labelnamerequiredtypedefaulthint
list1truestringnullThe first (filtered) list.
list2truestringnullThe second (filtered) list.
return typestring
logDebug
Public Function logDebug
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
messagefalseanynull
exceptionfalseanynullThe optional cfcatch structure.
return typeany
logError
Public Function logError
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
messagefalseanynull
exceptionfalseanynullThe optional cfcatch structure.
return typeany
logInfo
Public Function logInfo
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
messagefalseanynull
exceptionfalseanynullThe optional cfcatch structure.
return typeany
logOffAllUsers
Public Function logOffAllUsers
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Takes all necessary actions when the users logs off.
arguments
labelnamerequiredtypedefaulthint
return typestruct
logOffUser
Public Function logOffUser
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Takes all necessary actions when a user logs off.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
logWarn
Public Function logWarn
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
messagefalseanynull
exceptionfalseanynullThe optional cfcatch structure.
return typeany
makeUniqueString
Public Function makeUniqueString
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
makes a string unique
arguments
labelnamerequiredtypedefaulthint
strtruestringnull
arrtruearraynull
countfalsenumeric0
return typestring
mayAccessLiveEdit
Public Function mayAccessLiveEdit
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Checks if the given user has LiveEdit access.
arguments
labelnamerequiredtypedefaulthint
wu_idfalsenumeric-1The ID of the user to check.
return typeboolean
parseXMLFile
Public Function parseXMLFile
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
filePathfalsestringnull
return typeany
placeImage
Public Function placeImage
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
queryToArray
Public Function queryToArray
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns an array containing the items from the query.
arguments
labelnamerequiredtypedefaulthint
inputQuerytruequerynullThe query to convert to an array.
dataColumntruestringnullThe column containing the data to return.
return typearray
QueryToCSV
Public Function QueryToCSV
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
take a query and convert it to a comma separated value string.
arguments
labelnamerequiredtypedefaulthint
Querytruequerynullthe query being converted to CSV.
Fieldstruestringnullthe list of query fields to be used when creating the CSV value.
CreateHeaderRowfalsebooleantrueflag whether or not to create a row of header values.
Delimiterfalsestring,the field delimiter in the CSV value.
return typestring
queryToList
Public Function queryToList
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns a list containing the items from the query.
arguments
labelnamerequiredtypedefaulthint
inputQuerytruequerynullThe query to convert to a list.
dataColumnfalsestringnullThe optional column containing the data. If not specified, the first column is used.
return typestring
QueryToStruct
Public Function QueryToStruct
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Converts an entire query or the given record to a struct. This might return a structure (single record) or an array of structures.
arguments
labelnamerequiredtypedefaulthint
Querytruequerynull
Rowfalsenumeric0which row? 0 = all
ColumnListfalsestringAllwhich columns do you want to convert?
DateToISO8601falsebooleanfalseConverts dates to ISO-8601 string
return typeany
readFile
Public Function readFile
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
filePathfalsestringnull
return typestring
removeCustomRecord
Public Function removeCustomRecord
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Deletes all custom field values for the given object
arguments
labelnamerequiredtypedefaulthint
object_typetrueStringnull
object_idtruenumericnull
return typeany
ReplaceListNoCase
Public Function ReplaceListNoCase
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
arguments
labelnamerequiredtypedefaulthint
inputtruestringnullThe string where to replace in.
list1truestringnullThe list of the strings to be replaced
list2truestringnullThe list of the strings which are the new items.
delimiterfalsestring,The delimiter of the lists.
return typestring
returnError
Public Function returnError
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns a structure containing detailed error info. It also logs the error in the CF-admin.
arguments
labelnamerequiredtypedefaulthint
me_idtruenumericnullThe code for this error, it will be used to get the errormessage.
errorStructurefalseanynullThe optional cfcatch structure.
dumpVariablefalseanynullAn optional variable to dump.
return typestruct
returnQueryFromString
Public Function returnQueryFromString
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Generates a query with columns and multiple records.
arguments
labelnamerequiredtypedefaulthint
columnNametruestringnullThe columnname, this could be a list.
valuetruestringnullThe value. This could be a list
valueSeparatorfalsestring,A separator for the value list, default is ','. This separates the columns.
recordSeparatorfalsestring;A separator for the value list, default is ';'. This separates the records
return typequery
returnResult
Public Function returnResult
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns a structure containing status info and a resultquery (optional).
arguments
labelnamerequiredtypedefaulthint
resultQueryfalsequerynullThe optional query containing the result.
return typestruct
returnSecurity
Public Function returnSecurity
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns a security breach.
arguments
labelnamerequiredtypedefaulthint
return typestruct
searchCustomFileFields
Public Function searchCustomFileFields
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
arguments
labelnamerequiredtypedefaulthint
searchFieldstruestructnull
ml_idtruenumericnull
useORfalsebooleantrue
return typeany
searchUsers
Public Function searchUsers
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Returns users with a search constraint. Searches loginnames and fullnames.
arguments
labelnamerequiredtypedefaulthint
wu_idtruestringnullThe ID(s) of the users.
searchfalsestringA string containing the search.
sortfalsenumeric-1The sorttype.
return typestruct
setSomVerzorgerId
Public Function setSomVerzorgerId
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Sets the mapping for the UUID and Id for a verzorger
arguments
labelnamerequiredtypedefaulthint
sourceIdfalseanynull
idfalseanynull
return typevoid
setUserCustomValues
Public Function setUserCustomValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Updates the custom values for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
customStructuretruestructnullThe custom names and their values.
return typestruct
setUserStandardValues
Public Function setUserStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Updates the standard values for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
standardStructuretruestructnullThe standard names and their values.
return typestruct
setUserValues
Public Function setUserValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Sets all values for a user.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
valueStructuretruestructnullThe names and their values.
return typestruct
setValues
Public Function setValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Updates all values for a company, user or group.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruenumericnullThe ID of the company, group or user.
valueStructuretruestructnullThe fieldnames and their values.
ml_idfalsenumeric-1The fieldnames and their values.
return typestruct
switchUserStatus
Public Function switchUserStatus
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Sets a user active/inactive.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
return typestruct
textToNumber
Public Function textToNumber
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Returns a number for the english word
arguments
labelnamerequiredtypedefaulthint
texttrueanynull
return typenumeric
trueFalseFormat
Public Function trueFalseFormat
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
convert cf string to boolean
arguments
labelnamerequiredtypedefaulthint
exptrueanynull
return typeany
uniqueListAppend
Public Function uniqueListAppend
source: /usr/local/tomcat/webapps/ROOT/Components/Result/ReturnStruct.cfc
Adds an item to the list if that list does not contain it already.
arguments
labelnamerequiredtypedefaulthint
listtruestringnullThe list.
itemstruestringnullThe item(s) to add.
delimiterfalsestring,The delimiter (optional).
return typestring
updateStatisticsAsynchronous
Public Function updateStatisticsAsynchronous
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Updates the WIS loginstatistics. Operates asynchronous.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
HTTP_USER_AGENTtruestringnullThe useragent of the user.
REMOTE_ADDRtruestringnullThe IP-address of the user.
logonTimetruedatenullThe time of the logon.
typefalsenumeric1Is the login-attempt succesful?
return typeany
updateStatisticsSynchronous
Public Function updateStatisticsSynchronous
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Updates the WIS loginstatistics.
arguments
labelnamerequiredtypedefaulthint
wu_idtruenumericnullThe ID of the user.
HTTP_USER_AGENTtruestringnullThe useragent of the user.
REMOTE_ADDRtruestringnullThe IP-address of the user.
logonTimetruedatenullThe time of the logon.
typefalsenumeric1Is the login-attempt succesful?
return typeany
userIsBlocked
Public Function userIsBlocked
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Return if an user is blocked by loginname.
arguments
labelnamerequiredtypedefaulthint
wu_loginnamefalsestringThe loginname of the user.
searchInSLFfalsebooleantrueInclude secondary login field
return typestruct
validatePassword
Public Function validatePassword
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Is the password valid?
arguments
labelnamerequiredtypedefaulthint
passwordfalseanynull
goodHashfalseanynull
return typeboolean
private
addCustomValues
Private Function addCustomValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Inserts custom values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruenumericnullThe ID of the company, group or user.
customStructuretruestructnullThe custom names and their values.
return typestruct
addStandardValues
Private Function addStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Inserts the standard values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
standardStructuretruestructnullThe standard names and their values.
return typestruct
addValues
Private Function addValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Adds all values for a company, user or group.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
valueStructuretruestructnullThe fieldnames and their values.
return typestruct
getDefaultValues
Private Function getDefaultValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the default values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
return typestruct
getStandardNames
Private Function getStandardNames
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the standard names for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
return typestruct
getStandardValues
Private Function getStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the standard values for companies, groups or users.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruestringnullThe ID(s) of companies, groups or users.
ml_idfalsenumeric1The ID of the language.
return typestruct
getType
Private Function getType
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns the tablename and primary key.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group, user.
return typestruct
getValues
Private Function getValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Returns all values for a company, user or group.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruestringnullThe ID(s) of the companies, groups or users.
ml_idtruenumericnullThe ID of the language.
return typestruct
isUserWithMinLevel
Private Function isUserWithMinLevel
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
Checks if the given user has minimal level.
arguments
labelnamerequiredtypedefaulthint
min_leveltruenumericnull
wu_idfalsenumeric-1The ID of the user to check.
return typeboolean
removeMilliseconds
Private Function removeMilliseconds
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/UserIO.cfc
arguments
labelnamerequiredtypedefaulthint
dateTimefalsestringnull
return typestring
setCustomValues
Private Function setCustomValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Updates custom values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruenumericnullThe ID of the company, group or user.
customStructuretruestructnullThe customfield names and their values.
ml_idfalseany-1
return typestruct
setStandardValues
Private Function setStandardValues
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Updates the standard values for a company, group or user.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruenumericnullThe ID of the company, group or user.
standardStructuretruestructnullThe standard names and their values.
return typestruct
switchStatus
Private Function switchStatus
source: /usr/local/tomcat/webapps/ROOT/Components/AdminCtrl/FieldsIO.cfc
Sets a company, group or user active/inactive.
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type, values: company, group or user.
idtruenumericnullThe ID of the company, group or user.
return typestruct