UNPKG

activedirectory

Version:

ActiveDirectory is an ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations.

22 lines (20 loc) 492 B
/** * Represents an ActiveDirectory group * * @private * @param {Object} [properties] The properties to assign to the newly created item. * @returns {Group} */ var Group = function(properties) { if (this instanceof Group) { for (var property in (properties || {})) { if (Array.prototype.hasOwnProperty.call(properties, property)) { this[property] = properties[property]; } } } else { return(new Group(properties)); } }; module.exports = Group;