Use this API to fetch all the aaauser resources that are configured on netscaler.
This uses aaauser_args which is a way to provide additional arguments while fetching the resources.
761277
public static aaauser[] get(nitro_service service, aaauser_args args) throws Exception{
		aaauser obj = new aaauser();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		aaauser[] response = (aaauser[])obj.get_resources(service, option);
		return response;
	}
1159843
User getUser(String id, AccessToken accessToken, String... attributes) {
        return getResource(id, accessToken, attributes);
    }
1023084
public static snmp_user[] get(nitro_service client) throws Exception
	{
		snmp_user resource = new snmp_user();
		resource.validate("get");
		return (snmp_user[]) resource.get_resources(client);
	}
906920
public static snmpuser[] get(nitro_service service, options option) throws Exception{
		snmpuser obj = new snmpuser();
		snmpuser[] response = (snmpuser[])obj.get_resources(service,option);
		return response;
	}
340768
public static vpnurl[] get(nitro_service service) throws Exception{
		vpnurl obj = new vpnurl();
		vpnurl[] response = (vpnurl[])obj.get_resources(service);
		return response;
	}
1229109
public static authorizationpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{
		authorizationpolicy_aaauser_binding obj = new authorizationpolicy_aaauser_binding();
		obj.set_name(name);
		authorizationpolicy_aaauser_binding response[] = (authorizationpolicy_aaauser_binding[]) obj.get_resources(service);
		return response;
	}
480424
public static aaauser_vpntrafficpolicy_binding[] get(nitro_service service, String username) throws Exception{
		aaauser_vpntrafficpolicy_binding obj = new aaauser_vpntrafficpolicy_binding();
		obj.set_username(username);
		aaauser_vpntrafficpolicy_binding response[] = (aaauser_vpntrafficpolicy_binding[]) obj.get_resources(service);
		return response;
	}
1304706
public static aaauser_vpnsessionpolicy_binding[] get(nitro_service service, String username) throws Exception{
		aaauser_vpnsessionpolicy_binding obj = new aaauser_vpnsessionpolicy_binding();
		obj.set_username(username);
		aaauser_vpnsessionpolicy_binding response[] = (aaauser_vpnsessionpolicy_binding[]) obj.get_resources(service);
		return response;
	}
1137303
public static aaauser_intranetip_binding[] get(nitro_service service, String username) throws Exception{
		aaauser_intranetip_binding obj = new aaauser_intranetip_binding();
		obj.set_username(username);
		aaauser_intranetip_binding response[] = (aaauser_intranetip_binding[]) obj.get_resources(service);
		return response;
	}
929259
public static tmsessionpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{
		tmsessionpolicy_aaauser_binding obj = new tmsessionpolicy_aaauser_binding();
		obj.set_name(name);
		tmsessionpolicy_aaauser_binding response[] = (tmsessionpolicy_aaauser_binding[]) obj.get_resources(service);
		return response;
	}
506198
public static aaacertparams get(nitro_service service) throws Exception{
		aaacertparams obj = new aaacertparams();
		aaacertparams[] response = (aaacertparams[])obj.get_resources(service);
		return response[0];
	}
413455
public static aaaglobal_binding get(nitro_service service) throws Exception{
		aaaglobal_binding obj = new aaaglobal_binding();
		aaaglobal_binding response = (aaaglobal_binding) obj.get_resource(service);
		return response;
	}
1328014
def get_users(self, **kwargs):
        
        return GetUsers(settings=self.settings, **kwargs).call(**kwargs)
316216
public static nspbr6[] get(nitro_service service, nspbr6_args args) throws Exception{
		nspbr6 obj = new nspbr6();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		nspbr6[] response = (nspbr6[])obj.get_resources(service, option);
		return response;
	}
1042440
public static systemuser[] get(nitro_service service) throws Exception{
		systemuser obj = new systemuser();
		systemuser[] response = (systemuser[])obj.get_resources(service);
		return response;
	}
266774
public static aaauser get(nitro_service service, String username) throws Exception{
		aaauser obj = new aaauser();
		obj.set_username(username);
		aaauser response = (aaauser) obj.get_resource(service);
		return response;
	}
64031
def get_users(self, attr_map=None):
        
        kwargs = {"UserPoolId":self.user_pool_id}

        response = self.client.list_users(**kwargs)
        return [self.get_user_obj(user.get('Username'),
                                  attribute_list=user.get('Attributes'),
                                  metadata={'username':user.get('Username')},
                                  attr_map=attr_map)
                for user in response.get('Users')]