Hi Venura, In Carbon 4.0.0, there is no limit variable. But I checked with BPS 3.1.0 ( carbon 4.2.0 ) by giving limit as 0. Seems like it is working, but it gives a flaggedName called false at the end of result. But it is not working for other values.
Thanks, Hasitha. On Thu, Jan 23, 2014 at 11:27 PM, Venura Kahawala <[email protected]> wrote: > Hi, > > IMO this is an incorrect behavior. Can you try sending zero for the > 'limit' variable? > > Regards, > Venura > > > On Fri, Jan 24, 2014 at 9:39 AM, Hasitha Aravinda <[email protected]>wrote: > >> Hi all, >> >> I used UserAdminStub's getUsersOfRole method to do the $subject. It >> returns user list as a FlaggedName array. But problem is, this FlaggedName >> array contains all the user including users who don't belong to that role. >> >> But by checking flaggedName.getSelected() method I can validate whether >> particular user is in that role or not. But this requires additional >> iteration. >> >> Is this default behavior ? I verified with both carbon 4.0.0 and 4.2.0 >> and observed the same. >> >> Is it ok to use RemoteUserStoreManagerServiceStub for this. ? Again I >> can't use this with BPS since RemoteUserStoreManagerService admin service >> is not available by default. >> >> Thanks, >> Hasitha. >> >> -- >> Hasitha Aravinda, >> Software Engineer, >> WSO2 Inc. >> Email: [email protected] >> Mobile: +94 71 8 210 200 >> >> > > > -- > Senior Software Engineer > > Mobile: +94 71 82 300 20 > > -- Hasitha Aravinda, Software Engineer, WSO2 Inc. Email: [email protected] Mobile: +94 71 8 210 200
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
