lkinard
Novice

Check if Current User is member of AD Group

Jump to solution

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

7897i798C70EDB442DF58.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!

0 Kudos
Reply
2 Replies
Nik1
Novice

Re: Check if Current User is member of AD Group

Jump to solution

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

0 Kudos
Reply
lkinard
Novice

Re: Check if Current User is member of AD Group

Jump to solution

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

 

Liat

0 Kudos
Reply