Not applicable

fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

I'm trying to make certain fields on a form only visible to administrators.  I have set the visibility to Expression to

fn-IsMemberOfGroup('Administrators')

However the form is not hiding the fields.  Instead it shows the fields to all users.

I also tried setting the expression to fn-IsMemberOfGroup(Administrators) with the same results.

Does this feature work on Nintex Forms for Office 365?

◄Back

Administrators 

        

        

Security group                                       

 

Name

Email address

Reply
12 Replies
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

I set up the following Single Line Text Box.  When I run the form, both values return False in the Text Box.  I have confirmed that I am in the Administrators Security Group.  So one of these should return true.

0 Kudos
Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

I don't have a solution for this, but I'm seeing the same thing. Have tried different formats (and different groups) of the function:

fn-IsMemberOfGroup("Domain Users")

fn-IsMemberOfGroup('Domain Users')

fn-IsMemberOfGroup(Domain Users)

Always returning FALSE, when the user is a direct member of the group.

I'm on a on-prem installation of Nintex Forms 2013 version 2.5.0.0.

0 Kudos
Reply
patrick_hosch
Nintex Newbie

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

Anders Lund‌‌ and david beayon‌‌, I've tried it in O365 and on-prem and it works as expected. The correct format can be any of the ones Anders posted.

fn-IsMemberOfGroup("[YOUR GROUP NAME]")

fn-IsMemberOfGroup('[YOUR GROUP NAME]')

fn-IsMemberOfGroup([YOUR GROUP NAME])

Double check the notation and make sure you are referring to a SharePoint group, not an AD group. If that doesn't solve the problem, look at the permissions for the user viewing the form. Make sure you DO NOT use the system account. ALso ensure that the system account is not part of the group you are testing against.

If neither of those suggestions work, please log a ticket with our support team so we can backtrack it through the appropriate channels.

View solution in original post

Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

I have opened up a ticket with Nintex Support. I will report back once their is a resolution

Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

Ah - my mistake. Somehow I have read that it worked with AD groups. No problems to report then.

Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

Even though we are using SharePoint Online, the security groups had been setup as AD groups.  I had to mirror these groups in the site specific area.  Once I did this, I was able to get the fn-IsMemberOfGroup(groupname)  to work correctly

Reply
dom
Nintex Newbie

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

Can you describe how you mirrored the users? Have you managed to automate that?

Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

Hello Everyone,

Just to follow up with this question;

The inline function 'IsMemberOfGroup' in O365 only references Sharepoint groups. David was trying to reference O365 AD groups which this inline function cannot query.

Cheers,

Andrew Beals

Reply
Not applicable

Re: fn-IsMemberOfGroup('Administrators') not working for Nintex Forms for O365

Jump to solution

What is the proper way to allow multiple groups access to the object?  Say I want to allow access to a form panel to members of the physician group and office groups?

0 Kudos
Reply