Working with Nintex workflow, I was trying to send an email through "Send Email" action to users within SharePoint Group. If user through which workflow is kicked off, is part of that SharePoint Group then workflow/email works fine. But If user is not added in that group, getting below error: (Even that user has full control permission on site.)
"Access denied. You do not have permission to perform this action or access this resource."
Basically, when "Send Email" action executes, Nintex try to get users information to whom email needs to be sent out. If logged in user is added in the SharePoint group, Nintex is able to retrieve the information. But if user is not part of the group, it won't be able to access member information of the group.
To overcome this situation, Allow everyone to see the members of the SharePoint group. To make this change, follow below steps:
Note: This will enable other users who are not part of the group to view all members of the group.
- Go Site Settings --> People & Groups, browse to that SharePoint Group.
- From settings menu, select Group Settings.
- Update Group settings --> view permission to "Everyone".