Skip to main content
Nintex Community Menu Bar

determine if user is member of SP group

  • Sep 8, 2017 5:04 PM UTC
  • 5 replies
  • 238 views
  • Translate All

Forum|alt.badge.img+3

Is there a way to determine within a Nintex form if a user is the member of a SharePoint group? I would like to hide a panel unless the current user is a member of the admin group.

5 replies

Forum|alt.badge.img+3
  • Author
  • Sep 8, 2017 5:54 PM UTC

So I was trying to do it in a calculated value and did not see the function in the runtime functions list. So I then tried doing it with a single line and noticed that it has inline functions which does include that function.

Translate

Forum|alt.badge.img+7
  • Nov 19, 2018 8:53 PM UTC

Hi, so this works in the preview mode of designer for my form.  But when I create a new item, the panels that should be disabled, based on the rules, are not disabled.

Any thoughts on how to trouble shoot this?

Translate

Forum|alt.badge.img+7
  • Nov 20, 2018 2:01 PM UTC

So further investigation on this, you have to put the SharePoint group name within quotes.  So this is the way the formula would look:

fn-IsMemberOfGroup("FacilitiesRequisitionCapitalPurchaseApprovers")

Translate

Forum|alt.badge.img+11
  • Nintex Partner
  • Nov 20, 2018 2:51 PM UTC

Some of the unlisted inline fuctions still work if you type them in with the fn- prefix.

Translate

Forum|alt.badge.img+7
  • Nov 26, 2018 2:50 PM UTC

That bit of information was incredibly helpful!  Thank you!

Translate