You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
users=newGeoStore.Users({authorization: /* GeoStore auth token, typically 'Basic base64(admin:admin) */,url: /* where User services are located, typically http://host:port/geostore/rest/users*/,}).failure(function(response){/* CALLBACK METHOD WHEN STH WENT WRONG */});
Delete user
users.delete(/* USER ID */,function(data){// callback method on success/* DO SOMETHING */});
Create user
users.create({name: 'marco',password:'verysecret',role:'USER'},function(response){// callback/* DO SOMETHING */});