Hide / Show Controls based on AD user group

  • 17 January 2018
  • 4 replies
  • 5 views

Badge +2

Hi,

I'm evaluating Nintex Forms for SharePoint and wondering if the following is supported in Nintex Forms:

The form controls / sharepoint columns should be hidden or visible according to AD user group? Like first user1 adds a new item and only some columns are visible. Then, after submitting, user2 opens the item for editing and sees a larger set of columns in form. Kind of workflow without workflow.

If not supported in Forms, would it be possible with Nintex Workflow?

All the best,

Kari 


4 replies

Userlevel 5
Badge +13

Hi Kari,

Try using the fn-IsMemberOfGroup function in a formatting rule on the form.  Here's the syntax:

fn-IsMemberOfGroup("Your SharePoint Group Name"))

Here are a couple of good related posts:

https://community.nintex.com/thread/2690

https://community.nintex.com/thread/11096

Badge +2

Thanks Eric, I'll try this.

-Kari

Userlevel 5
Badge +14

what you ask for is possible with Sharepoint groups, but not with AD groups.

simply, members of AD group are not enumerated within sharepoint.

within workflow you could use Query LDAP action that could make a query to AD and enumerate group members.

from workflow you, however, cannot directly control visibility of form controls, especially if visibility depends on current logged in user.

Badge +2

Hi Marian,

actually, SharePoint groups would be fine. I will try those.

-Kari

Reply