Roles

  • 17 October 2016
  • 1 reply
  • 1 view

Badge

Hi Guys ,

 

I would like to find a method , is it possible to create roles in k2 smartforms and assign user in smartforms without using k2 workspace

 

Your help is highly appreciated

 

Thank You


1 reply

Userlevel 5
Badge +18

You may need to create a custom service broker that interact with the UserRoleMangement API (so that it will surface as SmartObject/Methods in SmartForms):


 


https://www.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#Custom_Service_Brokers.htm


http://help.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#how_to_create_a_role.html


 


Perhaps this other community project can provide some additional code sample against the UserRoleManagementAPI:


 


http://community.k2.com/t5/K2-blackpearl/Role-Migration/ba-p/855#

Reply