mura.user

Class sessionUserFacade

lucee.Component
    extended by mura.cfobject
      extended by mura.user.sessionUserFacade

This provides access to the current user's session

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
    Method Summary
    any generateCSRFTokens([any timespan='[runtime expression]'], [any context=''])
    any get([any property])
    any getAll()
    any getAllValues()
    any getFullName()
    any getUserBean()
    any getValue([any property])
    boolean hasSession()
    boolean isAdminUser()
    boolean isInGroup([any group], [any isPublic])
    boolean isLoggedIn()
    boolean isPassedLockdown()
    boolean isPrivateUser()
    boolean isSuperUser()
    any logout()
    any OnMissingMethod(string MissingMethodName, struct MissingMethodArguments)
         Handles missing method exceptions.
    any renderCSRFTokens([any timespan='[runtime expression]'], [any context=''], [any format='form'])
    any set([any property], [any propertyValue])
    any setValue([any property], [any propertyValue])
    any validateCSRFTokens([any $=''], [any context=''])
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, parseDateArg, removeValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    generateCSRFTokens

    public any generateCSRFTokens([any timespan='[runtime expression]'], [any context=''])

    Parameters:
    timespan
    context

    get

    public any get([any property])

    Overrides:
    get in class cfobject
    Parameters:
    property

    getAll

    public any getAll()


    getAllValues

    public any getAllValues()


    getFullName

    public any getFullName()


    getUserBean

    public any getUserBean()


    getValue

    public any getValue([any property])

    Overrides:
    getValue in class cfobject
    Parameters:
    property

    hasSession

    public boolean hasSession()


    isAdminUser

    public boolean isAdminUser()


    isInGroup

    public boolean isInGroup([any group], [any isPublic])

    Parameters:
    group
    isPublic - optional

    isLoggedIn

    public boolean isLoggedIn()


    isPassedLockdown

    public boolean isPassedLockdown()


    isPrivateUser

    public boolean isPrivateUser()


    isSuperUser

    public boolean isSuperUser()


    logout

    public any logout()


    OnMissingMethod

    public any OnMissingMethod(string MissingMethodName, struct MissingMethodArguments)

    Handles missing method exceptions.

    Parameters:
    MissingMethodName - The name of the missing method.
    MissingMethodArguments

    renderCSRFTokens

    public any renderCSRFTokens([any timespan='[runtime expression]'], [any context=''], [any format='form'])

    Parameters:
    timespan
    context
    format

    set

    public any set([any property], [any propertyValue])

    Overrides:
    set in class cfobject
    Parameters:
    property
    propertyValue

    setValue

    public any setValue([any property], [any propertyValue])

    Overrides:
    setValue in class cfobject
    Parameters:
    property
    propertyValue

    validateCSRFTokens

    public any validateCSRFTokens([any $=''], [any context=''])

    Parameters:
    $
    context