Solved

Check if Current User is member of AD Group

  • 19 July 2019
  • 2 replies
  • 180 views

Help! I'm not sure what I'm missing. 

I'm trying to create a flag in a Data Label (true), if the current user is a member of an AD Group when initializing the form.

I swore it worked previously in my environment, but now - nothing. Am I missing a step?

 

I'm executing a SmartObject method at Initiliazing - Get Group Users

15883i14AC4CD2315362B4.jpg

 

The problem is that no matter what - the Data Label always displays 'true' - even if the user is not a member of the group. Am I missing a step/ my logic for the filter is wrong? Thanks!

icon

Best answer by Nik1 20 July 2019, 00:18

View original

2 replies

Badge +9

Can you check the following post and see if that helps?


https://community.k2.com/t5/K2-Five/Is-user-in-group/m-p/111389#M3358

Thank you! The last link - 'Advanced Condition to checkup...' was the solution I needed.

 

Liat

Reply