server side code for assign user role

Hello,I am using Action-scripts to make calls to REST API. How can i include server code in that scenario? Is there a way to create a custom server-side function for assign/unassign roles and call it using REST API?

Thanks kinjal.

Answer already added here http://support.backendless.com/t/assigning-a-role-to-user

okay thanks