Skip to main content
Nintex Community Menu Bar

How to find the Group name of the logged in User belongs to?

  • April 25, 2017
  • 1 reply
  • 7 views

Forum|alt.badge.img

i need to find the loggedin User belongs to which group?

 

how to find or what to use to get the group name of the logged in User in K2 Appit for Sharepoint.

 

Appreciate any Help!

1 reply

Forum|alt.badge.img+12
  • April 27, 2017

Hi Sanjeev,


 


This can be done by creating a smart object via the User Role Manager service.


 


To this you will need to go to the following:


 



  • K2 Management page
  • Integration tab and click on service instances
  • Look for the User Role Manager Service
  • Create smartobjects from this with your own name
  • Then to find the groups the user belongs to you will need to execute the smart object. For this you will need to go to categories and the User Role manager service.
  • Furthermore from here look to select the UM group smart object and execute the method ‘Find User Groups’ specifying the name of the user. This should then find all the groups the user is part of here.

Kind regards,


 


Percy