You are here


ScriptNode getPerson(username) returns a single (cm:person) node associated with the specified user name, or null if the person does not exist.


A string representing the user name for the user who is being fetched.


A node representing the user requested, or null if the user name cannot be found.


The following code snippet returns the node object for the user with the username abeecher:

model.user = people.getPerson("abeecher");  

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.