Solved

Get list AD groups to which a user belongs

  • 25 February 2022
  • 2 replies
  • 94 views

Hello,

I am currently working with K2 Five 5.5, and I need to retrieve the list of AD groups to which the connected user belongs. I can't find a solution in the SMO offered by K2 regarding AD. Has anyone had this same need and found a solution?

Many thanks !

icon

Best answer by AMolyneux 25 February 2022, 13:38

View original

2 replies

There is a service type called “AD Service2” which will be automatically registered in your system. This allows you to create SmartObjects to expose AD services, one of which includes a Smartobject called “AD Group” which contains a method for retrieving the AD groups a user belongs to. Check to see if the AD Service2 smartobjects have already been created. If they haven’t, you will need to create them. See the K2 Five User guide for info: https://help.nintex.com/en-US/k2five/userguide/5.5/default.htm#ServiceBrokers/ActiveDirectory/Active-Directory.htm


 


 

This is exactly what I need ! Many thanks !

Reply