You are here

getPerson

getPerson() returns a script node wrapping the person.

Parameters

None

Returns

Returns a script node wrapping the person.

Example

var username = "joe.user";

var scriptUser = groups.getUser(username);

var person = scriptUser.getPerson();