lib/models/user.js
function(properties) {
  if (this instanceof User) {
    for (var property in (properties || {})) {
      if (Array.prototype.hasOwnProperty.call(properties, property)) {
        this[property] = properties[property];
      }
    }
  }
  else {
   return(new User(properties));
  }
}
function(properties) {
  if (this instanceof User) {
    for (var property in (properties || {})) {
      if (Array.prototype.hasOwnProperty.call(properties, property)) {
        this[property] = properties[property];
      }
    }
  }
  else {
   return(new User(properties));
  }
}
function ( properties ) { if ( this instanceof User ) { for ( var property in ( properties || { } ) ) { if ( Array . prototype . hasOwnProperty . call ( properties , property ) ) { this [ property ] = properties [ property ] ; } } } else { return ( new User ( properties ) ) ; } }
Represents an ActiveDirectory user account.

@private
@param {Object} [properties] The properties to assign to the newly created item.
@returns {User}
Represents an ActiveDirectory user account .