public static nssimpleacl [ ] get ( nitro_service service , String aclname [ ] ) throws Exception { if ( aclname != null && aclname . length > 0 ) { nssimpleacl response [ ] = new nssimpleacl [ aclname . length ] ; nssimpleacl obj [ ] = new nssimpleacl [ aclname . length ] ; for ( int i = 0 ; i < aclname . length ; i ++ ) { obj [ i ] = new nssimpleacl ( ) ; obj [ i ] . set_aclname ( aclname [ i ] ) ; response [ i ] = ( nssimpleacl ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch nssimpleacl resources of given names .