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/

Reply via email to