{"_id":"atlassian-crowd","_rev":"27-04f1b746a1d1a4e8456c0f994e70684e","name":"atlassian-crowd","description":"A node.js module to communicate with Atlassian Crowd","dist-tags":{"latest":"0.5.0"},"versions":{"0.0.1":{"name":"atlassian-crowd","version":"0.0.1","main":"./lib/index.js","author":{"name":"Gary Steven","email":"gsteven@ussearch.com"},"license":"BSD","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"dependencies":{"libxmljs":"0.6.1","nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["libxmljs","nodeunit","jshint"],"keywords":["atlassian","crowd"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint lib/index.js lib/user.js lib/groups.js lib/session.js test/run-tests.js"},"_id":"atlassian-crowd@0.0.1","dist":{"shasum":"eefab338fc9a6e2330adba66affee655e71162ef","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.0.1.tgz","integrity":"sha512-a+IeIQQ/K4FV3QiO1ezhT3jWZeHiDVwtCZReF8gHsTYmKpBLDw8h4WfFQKi584AEi25kTl9/kneJQxbsnFG0kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtbqKIwcFkxww6uDET6zLiMTnIadNwqVidsmNhAsVVlAIgBTwydcJPyaB6YXNKEeaGJTYO5yBkqGxx22CS6PqHirw="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.2.0":{"name":"atlassian-crowd","version":"0.2.0","main":"./lib/index.js","author":{"name":"Gary Steven","email":"gsteven@ussearch.com"},"license":"BSD","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"dependencies":{"libxmljs":"0.6.1","nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["libxmljs","nodeunit","jshint"],"keywords":["atlassian","crowd"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint lib/index.js lib/user.js lib/groups.js lib/session.js test/run-tests.js"},"_id":"atlassian-crowd@0.2.0","dist":{"shasum":"5abadbb0a79dfc55633cfe2623e9b0606f1e4990","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.2.0.tgz","integrity":"sha512-18lcgvedCNv4toJ8cACAx+Ga0wpwNVwCOr+q9D9umjlq5334wiGosFBwudoRzgn+OvpXUeyz6amUZnktLRzkuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKwCsP0txO7X0tRlyZq304+qL++5giDqXlkH2DBq3SPAiEAiiPhnjg7ZKeLh93ImXD/IOg0zO2aTfNBerftAw/XG/Y="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.2.1":{"name":"atlassian-crowd","version":"0.2.1","main":"./lib/index.js","author":{"name":"Gary Steven","email":"gsteven@ussearch.com"},"license":"BSD","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"dependencies":{"libxmljs":"0.6.1","nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["libxmljs","nodeunit","jshint"],"keywords":["atlassian","crowd"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint lib/index.js lib/user.js lib/groups.js lib/session.js test/run-tests.js"},"_id":"atlassian-crowd@0.2.1","dist":{"shasum":"0887ca0dd3875fe2297219b1c4030335ab2ee848","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.2.1.tgz","integrity":"sha512-pK4piDOoSgFFxo41+08oAj6Akn+n73arDrzxkk3ZD2kDGzRiUE0ccyYPafn1Qk5QQSBSxg0sTAjG4d3XdYSMlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIZ2yP2pCVloju0ENzVk8xWma3Tzq/FR4EwUH4+zB5VAiBoodaEZIKvMxBLzTTt1OKoGYIrpdPp9OfntxjsweaROw=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.2.2":{"name":"atlassian-crowd","version":"0.2.2","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"dependencies":{"libxmljs":"0.6.1"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["libxmljs","nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.2.2","dist":{"shasum":"7711f9f9047119f0078d50bc09541aca4f24f560","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.2.2.tgz","integrity":"sha512-CKnaNt813cUb7tRjeUAX7GnD7J4Lnc8SWm5Jq5LF+zTVuWc1f6z6n1i33weV3s6KBTPVr9X9QXulmYndCZKl/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWKWsJ0xXua0thy18DBwK6xr8T4GgzWAFt6AiqNS1eXAiEAh38bRph3N9Fk0MNkM+SbKpqI7EI2fLM2aOtmnqENzso="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.2.3":{"name":"atlassian-crowd","version":"0.2.3","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"dependencies":{"libxmljs":"0.6.1"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["libxmljs","nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.2.3","dist":{"shasum":"754a797b682cc0ff9933ae6919b4b30244420584","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.2.3.tgz","integrity":"sha512-uqTrpc+7hodiSmAOTD1c7FLRszlGOkUzwTRZEKNysauV0Ejvmxc42A+jMRpVjEDbn7W5y/LjMzFSP8mV8aehwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkFzPXz2h8JGRIfxcnkARthjfwDlwaxFZWo914j8YTMwIhAIZmQ6INKvnXP3oAvZCUlvNHkfdDvCq9HrE9sTQbFyCM"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.3.0":{"name":"atlassian-crowd","version":"0.3.0","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.3.0","dist":{"shasum":"097e545d2005426cfccab9ae4576b3ad2e729b66","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.3.0.tgz","integrity":"sha512-fIkLFr3sbS6lhI9aluCDYzYB+txfJExmrZriykEAi5KTdX3vli71zMkLzLo4SRN3czCosTTe5JNa6JhXDmsf5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRzDGQhuyPydtut7QVthqqM93mJlu/3ccw1VVbycI+QAiEApn5FWgOm+++0167yxw/mEKU1i518NVXWDqENBwF9CiE="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.4.0":{"name":"atlassian-crowd","version":"0.4.0","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"}],"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.4.0","dist":{"shasum":"daa50d27c9cb15088e9a24be79d64207f090b024","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.4.0.tgz","integrity":"sha512-WVP1rsicoUD/+qf/Mjw2Zi5pvS6qdQxTIMp+CZ7TKGP6dsh4BI0FEF8vVAtqgL3oukbKIu5DN9+9BGxREuWt3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDWbXzWURTzGx/unpGge4HcL24zDLotu+RON8V/JCgSAiAlRcC4E+djPG8qdewCOMfz0w+lQCOZLY/OO9N1IIsBTw=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.4.1":{"name":"atlassian-crowd","version":"0.4.1","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"}],"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.4.1","dist":{"shasum":"e836c62cc655b818e8788945ad0e468b25daac5d","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.4.1.tgz","integrity":"sha512-KVveGHQMiqengzuXuY1aUr+c9IXKfrIcpa7AAz5855iibCGwPQzBiiNTHxDZOQDxxOsgy/Ib7sTU4S/jxMVdRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/u5sw8KaUacgoEi2d5DHW6LlJHVeeMhkeu/CnMA8VxAiBz2lQoLHaSrE62gDSzlTbygKUJT/ARi7JE9ozqozk0AQ=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.4.3":{"name":"atlassian-crowd","version":"0.4.3","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"}],"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.4.3","dist":{"shasum":"f496bd4a8f4b833f0cbee92b8dd74f29b69d6439","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.4.3.tgz","integrity":"sha512-miMeN3koaMQUDZ1Ay+FgykR5pLCy7hcuL4HNIOnDz8VB55FVPTnd/dO4LtZlpstJbT262hXjjyaE9ySORfEIAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG0eJoVMxYf84VO+nTgGy5ddhQqqHiVohdKqMK4BpphQIgXbfyyI7gYXCS3oumfz/QehYGJhCpeBT2B3g4xjDdPNQ="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.4.4":{"name":"atlassian-crowd","version":"0.4.4","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"},{"name":"Petri Ämmälä"}],"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"_id":"atlassian-crowd@0.4.4","dist":{"shasum":"45c95e5a3115b43ebf8e942a087ca9e356a63be6","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.4.4.tgz","integrity":"sha512-Hpww4bq3Ea/vkkhDy7MOWmUqtQNLzXHswGyYTRv5td6pRyMhTySTeDMNJRmhRsKdMS/aYLAv7zPRVpHhwljchg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHc1I9r7x6mVA8KNAxZyggKrCl6yqcU2rh/htGDnZZadAiEAlQ17tY67fKTBUv8BGO0tNFPwnqh9/B6rT7udObU9Jr0="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]},"0.5.0":{"name":"atlassian-crowd","version":"0.5.0","main":"./lib/index.js","author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"},{"name":"Petri Ämmälä"},{"name":"Trevor Hall"},{"name":"rhubarbselleven"},{"name":"fi-nationallibrary-artiva"}],"license":"MIT","description":"A node.js module to communicate with Atlassian Crowd","bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"engines":{"node":">= 0.6.x"},"devDependancies":{"nodeunit":"0.7.4","jshint":"0.9.1"},"bundledDependancies":["nodeunit","jshint"],"keywords":["atlassian","crowd","sso"],"repository":{"type":"git","url":"git+https://github.com/dsn/node-atlassian-crowd.git"},"scripts":{"test":"node_modules/nodeunit/bin/nodeunit test/run-tests.js","lint":"node_modules/jshint/bin/hint package.json lib/index.js lib/user.js lib/groups.js lib/session.js test/test.config test/run-tests.js"},"gitHead":"febf8cbd56e0db4dce587d75c22c61ced3bb1339","homepage":"https://github.com/dsn/node-atlassian-crowd#readme","_id":"atlassian-crowd@0.5.0","_shasum":"8ac745a8783799490d1741fa09cf472e7ff30930","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"dsn","email":"garys@darksidenetworks.com"},"dist":{"shasum":"8ac745a8783799490d1741fa09cf472e7ff30930","tarball":"https://registry.npmjs.org/atlassian-crowd/-/atlassian-crowd-0.5.0.tgz","integrity":"sha512-WTdydVZeLU2Nu0opVwXi7wH++8bLV9wMyhmqNeJHmmMAUQCdnTBkDhiuhQeiMcDSTP4y9A0yxUFr//t03R8dag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG864O9KnwdYT3q0irFzXmLNj6HZoVNp5qclM6hJx3CgIgLgUxO4TsBxPd4l7YsL1tP5KTum9KheMHLVB6N1282ZI="}]},"maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}]}},"readme":"I lost access to my crowd server awhile ago and things more or less stopped here, however I have had a handful of requets lately so I am going to restart this project when I get a few moments of free time.\n\n# Atlassian Crowd Client for node.js #\nA node.js module for interacting with the Atlassian Crowd.\n\nProvides the ability to Add, Remove, and Manage Users and Groups as well as SSO functionality.\n\n## Getting Started ##\nIn order to use this module you will first need to configure an application in Atlassian Crowd and Configure the Remote IP Address.\n\nSee the [Atlassian Crowd Documentation (Adding an Application)](https://confluence.atlassian.com/display/CROWD/Adding+an+Application#AddinganApplication-add) for assistance.\n\n## Usage ##\n```javascript\nvar AtlassianCrowd = require('atlassian-crowd');\n\nvar options = {\n  \"crowd\": {\n    \"base\": \"http://localhost:8059/crowd/\" \n  },\n  \"application\": {\n    \"name\": \"my application\",\n    \"password\": \"pass123\"\n  }\n}\n\nvar crowd = new AtlassianCrowd(options);\n```\n\n### Options ###\nIf you do not know these please ask your systems administrator.\n\n`crowd.base` Atlassian Crowd Base URL  \n`application.name` Application name as configured in Atlassian Crowd  \n`application.password` Application name as configured in Atlassian Crowd  \n\n## API ##\n\n#### Testing Configuration and Connectivity ####\nA simple function to check connectivity to Atlassian Crowd.\n\nping(callback)\n\n* callback Function (err, res)\n\n```javascript\ncrowd.ping(function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res)\n  }\n});\n```\n\n#### Search Users or Groups ####\nUses the Crowd Query Language  \nSee [Crowd Query Language Documenation](https://developer.atlassian.com/display/CROWDDEV/Crowd+Query+Language) for more details  \nsearch(entityType, query, callback)\n\n* entityType String 'user' or 'group'\n* query String Crowd Query\n\n#### Search Users #####\n```javascript\ncrowd.search('user', 'firstName=\"test*\"', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n##### Search Groups #####\n```javascript\ncrowd.search('group', 'name=\"*test*\"', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n### User Related Functions ###\nHere you can find utilities for Managing, Creating, Removing, Users as well as Changing Passwords, and Basic Authentication (NON SSO).\n\n#### Finding a User by Username ####\nuser.find(userrname, callback)\n\n* username String\n* callback Function (err, res)\n\n```javascript\ncrowd.user.find('user', function(err, res) {\n  if(err) { \n    throw err;\n   }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Checking if User is Active ####\nuser.active(username, callback)  \n\n* username String\n* callback Function (err, res)\n\n```javascript\ncrowd.user.active('user', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res.toString());\n  }\n});\n```\n\n#### Creating a User ####\nuser.create(firstname, lastname, displayname, email, username, password, callback)  \n\n* firstname String\n* lastname String\n* displayname String\n* email String\n* username String\n* password String\n* callback Function (err)\n\n```javascript\ncrowd.user.create('Test', 'User', 'Test User', 'test@foo.bar', 'testuser', 'abc123', function(err) {\n  if(err) { \n    throw err;\n  }\n  else {\n    console.log('Success')\n  }\n});\n```\n\n#### Removing a User ####\nuser.remove(username, callback)  \n\n* username String\n* callback Function (err)\n\n```javascript\ncrowd.user.remove('testuser', function(err) {\n  if(err) { \n    throw err;\n  }\n  else {\n    console.log('Success')\n  }\n});\n```\n\n#### List a Users Group Membership ####\nuser.groups(username, callback)  \n\n* username String\n* callback Function (err, res)\n\n```javascript\ncrowd.user.groups('testuser', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### List a Users Attributes ####\nuser.attributes(username, callback)\n\n* username String\n* callback Function (err, res) \n   \n```javascript\ncrowd.user.attributes('testuser', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Set a New Attribute to a User ####\nuser.setAttributes(username, name, values, callback)\n\n* username String\n* name String\n* values String **or** Array\n* callback Function (err, res)\n\n```javascript\ncrowd.user.removeAttribute('testuser', 'attributeName', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Remove an Attribute From a User ####\nuser.removeAttribute(username, name, values, callback)\n\n* username String\n* name String\n* callback Function (err, res)\n\n```javascript\ncrowd.user.attributes('testuser', 'attributeName', 'attributeValue', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### User Authentication (NON SSO) ####\nuser.authenticate(username, password, callback)  \n\n* username String\n* password String\n* callback Function (err, res)\n\n```javascript\ncrowd.user.authenticate('testuser', 'abc123', function(err, res) {\n  if(err) { \n    throw err;\n   }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Changing a Users Password ####\nuser.changepassword(username, newpassword)\n\n* username String\n* newpassword String\n* callback Function (err)\n\n```javascript\ncrowd.user.changepassword('testuser', 'newpass', function (err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Success');\n  }\n});\n```\n\n### Group Functions ###\nHere you can find utilities for Managing, Creating, and Removing Groups.  \n\n#### Finding a Group ####\ngroups.find(groupname, callback)  \n\n* groupname String\n* callback Function (err, res)\n\n```javascript\ncrowd.groups.find('crowd-administrators', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Creating a Group ####\ngroups.create(name, description, callback)\n\n* name String\n* description String\n* callback Function (err)\n\n```javascript\ncrowd.groups.create('test-group', 'Test Description', function(err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Success');\n  }\n});\n```\n\n#### Removing a Group ####\ngroups.remove(name, callback)\n\n* name String\n* callback Function (err)\n\n```javascript\ncrowd.groups.remove('test-group', function (err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Success');\n  }\n```\n\n#### Adding a User to a Group ####\ngroups.addmember(username, group, callback)\n\n* username String\n* group String\n* callback Function (err)\n\n```javascript\ncrowd.groups.addmember('testuser', 'test-group', function (err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Success');\n  }\n});\n```\n\n#### Removing a User from a Group ####\ngroups.removemember(username, group, callback)\n\n* username String\n* group String\n* callback Function (err)\n\n```javascript\ncrowd.groups.removemember('testuser', 'test-group', function (err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Success');\n  }\n});\n```\n\n#### Find the Direct Members of a Group ####\ngroups.directmembers(groupname, callback)\n\n* groupname String\n* callback Function (err, res)\n\n```javascript\ncrowd.groups.find('test-group', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Find the Nested Members of a Group ####\ngroups.nestedmembers(groupname, callback)\n\n* groupname String\n* callback Function (err, res)\n\n```javascript\ncrowd.groups.nestedmembers('test-group', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n### Session Functions ###\nProvides SSO Functionality\n\n#### Create a new Session ####\nsession.create(username, password, callback)\n\n* username String\n* password String\n* remote_addr String (optional)\n* callback Function (err, res)\n\n```javascript\ncrowd.session.create('testuser', 'secret', function (err, token) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(token);\n  }\n});\n```\n\n#### Authenticate ####\nsession.authenticate(token, remote_addr, callback)\n\n* token String\n* remote_addr String (optional)\n* callback Function (err, res)\n\n```javascript\ncrowd.session.authenticate('xAbCd345', '192.168.1.100', function (err, res) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log(res);\n  }\n});\n```\n\n#### Destroy ####\nsession.destroy(token, callback)\n\n* token String\n* callback Function (err)\n\n```javascript\ncrowd.session.destroy('xAbCd345', function (err) {\n  if(err) {\n    throw err;\n  }\n  else {\n    console.log('Successfully Destroyed Session');\n  }\n});\n```\n\n## TODO ##\n* Update User Profile\n","maintainers":[{"name":"dsn","email":"garys@darksidenetworks.com"}],"time":{"modified":"2022-06-13T03:40:39.894Z","created":"2012-12-18T03:32:03.339Z","0.0.1":"2012-12-18T03:32:03.896Z","0.2.0":"2012-12-18T04:05:44.311Z","0.2.1":"2012-12-18T08:30:57.857Z","0.2.2":"2012-12-18T09:50:47.976Z","0.2.3":"2012-12-18T21:30:50.674Z","0.3.0":"2012-12-19T10:50:41.524Z","0.4.0":"2013-01-07T23:23:45.469Z","0.4.1":"2013-01-08T00:22:25.647Z","0.4.3":"2013-02-26T09:33:00.490Z","0.4.4":"2013-03-18T19:08:18.007Z","0.5.0":"2015-07-16T20:08:45.950Z"},"author":{"name":"Gary Steven","email":"garys@darksidenetworks.com"},"repository":{"type":"git","url":"git+https://github.com/dsn/node-atlassian-crowd.git"},"users":{"fotomut":true,"elosoman":true,"shekharreddy":true},"homepage":"https://github.com/dsn/node-atlassian-crowd#readme","keywords":["atlassian","crowd","sso"],"contributors":[{"name":"Teemu Matilainen","email":"teemu.matilainen@iki.fi"},{"name":"Petri Ämmälä"},{"name":"Trevor Hall"},{"name":"rhubarbselleven"},{"name":"fi-nationallibrary-artiva"}],"bugs":{"url":"https://github.com/dsn/node-atlassian-crowd/issues"},"license":"MIT","readmeFilename":"README.md"}