public static base_responses kill ( nitro_service client , aaasession resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { aaasession killresources [ ] = new aaasession [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { killresources [ i ] = new aaasession ( ) ; killresources [ i ] . username = resources [ i ] . username ; killresources [ i ] . groupname = resources [ i ] . groupname ; killresources [ i ] . iip = resources [ i ] . iip ; killresources [ i ] . netmask = resources [ i ] . netmask ; killresources [ i ] . all = resources [ i ] . all ; } result = perform_operation_bulk_request ( client , killresources , "kill" ) ; } return result ; }
Use this API to kill aaasession resources .