Use this API to fetch all the dbuser resources that are configured on netscaler.
513336
public static dbuser[] get(nitro_service service) throws Exception{
		dbuser obj = new dbuser();
		dbuser[] response = (dbuser[])obj.get_resources(service);
		return response;
	}
1122958
public static systemcollectionparam get(nitro_service service) throws Exception{
		systemcollectionparam obj = new systemcollectionparam();
		systemcollectionparam[] response = (systemcollectionparam[])obj.get_resources(service);
		return response[0];
	}
184898
@GET
  @Path("/db/{authorizerName}/roles")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  @ResourceFilters(BasicSecurityResourceFilter.class)
  public Response getAllRoles(
      @Context HttpServletRequest req,
      @PathParam("authorizerName") final String authorizerName
  )
  {
    return resourceHandler.getAllRoles(authorizerName);
  }
1328014
def get_users(self, **kwargs):
        
        return GetUsers(settings=self.settings, **kwargs).call(**kwargs)
78139
public function getUsers()
    {
        if ($this->users === null) {
            $this->setUsers($this->userRepository->getAllByEnvironment($this));
        }
        return $this->users;
    }
387414
public UserResources userResources() {
        if (users.get() == null) {
            users.compareAndSet(null, new UserResourcesImpl(this));
        }
        return users.get();
    }
1086984
@GET
  @Path("/db/{authorizerName}/users/{userName}")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  @ResourceFilters(BasicSecurityResourceFilter.class)
  public Response getUser(
      @Context HttpServletRequest req,
      @PathParam("authorizerName") final String authorizerName,
      @PathParam("userName") final String userName,
      @QueryParam("full") String full
  )
  {
    return resourceHandler.getUser(authorizerName, userName, full != null);
  }
610919
public static @Nonnull
    Collection<User> getAll() {
        final IdStrategy strategy = idStrategy();
        ArrayList<User> users = new ArrayList<>(AllUsers.values());
        users.sort((o1, o2) -> strategy.compare(o1.getId(), o2.getId()));
        return users;
    }
170116
protected function _fetchOtherDatabaseParams() {
        $otherEnvironment   = $this->getOtherEnvironment();
        $appConfigParams    = $this->_fetchAppConfigParams($otherEnvironment);
        $params             = $appConfigParams->resources->db->params;

        return $params;
    }
1035096
public static base_responses add(nitro_service client, dbdbprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dbdbprofile addresources[] = new dbdbprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dbdbprofile();
				addresources[i].name = resources[i].name;
				addresources[i].interpretquery = resources[i].interpretquery;
				addresources[i].stickiness = resources[i].stickiness;
				addresources[i].kcdaccount = resources[i].kcdaccount;
				addresources[i].conmultiplex = resources[i].conmultiplex;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
759193
@GET
    @Path("user")
    @Produces(MediaType.APPLICATION_JSON)
    @HttpCache
    public List<RUserDto> getUsers()
    {
        DbConn cnx = null;
        try
        {
            cnx = Helpers.getDbSession();
            return MetaService.getUsers(cnx);
        }
        finally
        {
            Helpers.closeQuietly(cnx);
        }
    }
167232
def get_database_users(self):
        """"""
        url = "db/{0}/users".format(self._database)

        response = self.request(
            url=url,
            method='GET',
            expected_response_code=200
        )

        return response.json()
641742
def get_all_users(resource_root, view=None):
  
  return call(resource_root.get, USERS_PATH, ApiUser, True,
      params=view and dict(view=view) or None)
1328974
public static dbdbprofile get(nitro_service service, String name) throws Exception{
		dbdbprofile obj = new dbdbprofile();
		obj.set_name(name);
		dbdbprofile response = (dbdbprofile) obj.get_resource(service);
		return response;
	}
1001193
function get_user_collection(req, res, next) {
		app.db.collection('users', function(error, user_collection) {
			if(error) { throw error; }
			else {
				req.user_collection = user_collection;
				next();
			}
		});
	}
333208
public static base_responses update(nitro_service client, dbdbprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dbdbprofile updateresources[] = new dbdbprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new dbdbprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].interpretquery = resources[i].interpretquery;
				updateresources[i].stickiness = resources[i].stickiness;
				updateresources[i].kcdaccount = resources[i].kcdaccount;
				updateresources[i].conmultiplex = resources[i].conmultiplex;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
913550
def get_users(self, fetch=True):
        """"""
        return Users(self.resource.users, self.client, populate=fetch)