java.lang.Object
org.alfresco.repo.security.authority.script.ScriptUser
All Implemented Interfaces:
Serializable, Authority

public class ScriptUser extends Object implements Authority, Serializable
The Script user is a USER authority exposed to the scripting API
Author:
mrogers
See Also:
  • Constructor Details

    • 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
  • Method Details