To obtain any property for the user, use either the dot notation user.property or the array notation user[property]. For example:
try
{
formula.log.info ('Attempting to update user info')
var uid = '321665949'
// Find the user.
var userElement = formula.Root.findElement( 'user=' +
formula.util.encodeURL( uid ) +
'/users=Users/security=Security/root=Administration' )
var aUser = userElement.user;
aUser.fullName( 'Joe Thomas')
aUser.email('joe@acme.com')
aUser.phone('888-555-1212')
aUser.pager( '800-555-1212')
}
catch( Exception )
{
formula.log.warn( 'Could not modify user: ' + Exception )
}