Unified Business Solutions

Posts Tagged ‘Web Services’

Using Groups in Web Services Security for GP 2010

Monday, October 4th, 2010

In previous versions of Web Services for Dynamics GP you had to manually edit some files in order to utilize user groups in the security console.  Dynamics GP 2010 Web Services is no different; however, you will not find a website in IIS for Web Services or the filenames as described in knowledgebase article 944440. 

The edits described in article 944440 are still the same but the file locations and names are different.  If you use the defaults when installing Web Services you should find the main location at drive:\Program Files\Microsoft Dynamics\GPWebServices.

To set the AllowUserGroups value to “true”,  locate the SecurityAdminService folder in the GPWebServices directory and modify the following key in the DynamicsSecurityAdmin.config file:

Change <add key="AllowUserGroups" value="false" /> to 
<add key="AllowUserGroups" value="true" />

To set the AccessCheckPrincipal value to “UserAndGroup”, locate the ServiceConfigs folder in the GPWebServices directory and modify the following key in the DynamicsSecurity.config file:

Change  <add key="AccessCheckPrincipal" value="User" />  to

<add key="AccessCheckPrincipal" value="UserAndGroup" />
Restart the server and you should now be able to add user groups in the security console.

Post to Twitter