Class ScriptUser

    • Constructor Detail

      • ScriptUser

        public ScriptUser​(String userName,
                          NodeRef personNodeRef,
                          ServiceRegistry serviceRegistry,
                          org.mozilla.javascript.Scriptable scope)
        Constructs a scriptable object representing a user.
        Parameters:
        userName - The username
        personNodeRef - The NodeRef
        serviceRegistry - A ServiceRegistry instance
        scope - Script scope
        Since:
        4.0