Hi,
I'm developing in K2 Blackpearl for Sharepoint 2013.
I have AD system and I want to have a smartobject that lists the users and his roles. This has to have a method to get all users by Role.
As I can understood, the roles information is stored on K2 Databases. Is that correct? If so, the best way is to create a compositive smartobject?
Thank you,
Óscar Gomes
Get Users List
+3
+8
Hello Oscar,
You could create a composite SmartObject if you really needed, however the AD user names are also stored in the location where you get the Role definitions.
Go to K2 designer and create a test smartobject. Under the explorer look for URM Service and see what's available under there. I dragged the User methods on to the canvas and if I executed the Get Users method, with the Lable (required) as K2...it gave me quite a bit of data.
If you needed a composite off of this, I would tie the URM Name field to AD Username.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.