Skip to main content
Nintex Community Menu Bar

Hi,

 

Does anyone know if it is possible to view/amend K2 roles outside of workspace? 

 

I want to be able to add/remove people from K2 roles via a view.  Second, search by a username and see what roles they are part of.

 

Kind Regards

Sana

HI 


 


I am not too sure if this is what you are looking for however please see the link below, it shows how to create a K2 role using API:


 


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


 


Regards


 


HI 


 


If you are on K2 4.7 or Appit 1.5 you can also use the K2 Management page:


 


http://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#K2_Management_Site/User_Management/Roles.htm%3FTocPath%3DAdminister%7CK2%2520Management%2520Site%7CUsers%7C_____1


Hello,


 


There isn’t an out of the box service object that allows you to manage (add/remove) K2 Roles. There is, however, a User Role Manager service with a “Role’ smartobject which you may utilize to retrieve the Roles and display it on a View. 


Thank you.  4.7 K2 Management Page is exactly what I was looking for.  Unfortunately, we are not able to move from 4.6.11 anytime soon.  Not on required Windows Server yet.

 

Programmatically setting a role, is not ideal as I needed to set something up for non techny people to manage.  

 

User Role Manager, good for showing a list.  Shame that I can't add/remove users from it.   Thanks I might set that up for now.


If really needed, it may be possible to develop a custom service broker to interact with roles using the SourceCode.HostClientAPI and the SourceCode.Security.UserRoleManager.Management assemblies:


 


https://help.k2.com/onlinehelp/k2blackpearl/devref/4.7/default.htm#Custom_Service_Brokers.htm


http://help.k2.com/onlinehelp/k2blackpearl/devref/4.7/default.htm#K2ServerSamples.htm


 


Then create SmartObject(s) and build a view for interacting with roles.


Reply