Thanks for the tip! That definitely helps fill in the missing pieces ^_^ D Chang
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Niculae Sent: Friday, April 13, 2012 12:40 PM To: sipXecs developer discussions Subject: Re: [sipx-dev] How to access User Group Permissions (Settings) forediting? On Fri, Apr 13, 2012 at 6:44 PM, Dan Chang <[email protected]> wrote: > I am trying to read and update the Permissions for a User Group, which I > believe are "Settings", within a REST API. The only example I have seen > uses > > group.inherhitSettingsForEditing(BeanWithSettings bean); (sic) > > to get a copy of all the settings, but this was in some web page code > that had a getBean() available. Does anyone know how I can get access > to a bean within a Restlet resource? (I admit I know beans about > beans). For getting that bean just do a User user = CoreContext.newUser(); That's because Permissions are more user related Then use the method you mentioned getSettingValue / getSettingTypedValue, they should return what you need George _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/ _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
